From 62a013bddc91ba4b2abfbe87f8fee3425e1642ba Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 6 May 2009 18:40:36 +0000 Subject: [PATCH] Cleaned up tokens for SGI_color_table (promoted by OpenGL 1.2). Fixes bug [#834] "Problem between GL.ColorTable and Version12 enum" (http://www.opentk.com/node/834), Started implementing tokens for EXT_convolution. --- Source/OpenTK/Graphics/GL/GL.cs | 328 +++++++++++------------ Source/OpenTK/Graphics/GL/GLCore.cs | 40 +-- Source/OpenTK/Graphics/GL/GLDelegates.cs | 52 ++-- Source/OpenTK/Graphics/GL/GLEnums.cs | 46 ++++ 4 files changed, 256 insertions(+), 210 deletions(-) diff --git a/Source/OpenTK/Graphics/GL/GL.cs b/Source/OpenTK/Graphics/GL/GL.cs index d1922e45..7999b9ef 100644 --- a/Source/OpenTK/Graphics/GL/GL.cs +++ b/Source/OpenTK/Graphics/GL/GL.cs @@ -23539,13 +23539,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + 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.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + 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 @@ -23587,7 +23587,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + 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 @@ -23597,7 +23597,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + 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 { @@ -23644,7 +23644,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + 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 @@ -23654,7 +23654,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + 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 { @@ -23701,7 +23701,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + 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 @@ -23711,7 +23711,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + 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 { @@ -23758,7 +23758,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + 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 @@ -23768,7 +23768,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + 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 { @@ -23800,7 +23800,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static - void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single[] @params) + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23810,7 +23810,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glColorTableParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -23839,7 +23839,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static - void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, ref Single @params) + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23849,7 +23849,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glColorTableParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -23879,13 +23879,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single* @params) + 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.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params); #if DEBUG } #endif @@ -23912,7 +23912,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static - void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32[] @params) + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23922,7 +23922,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glColorTableParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -23951,7 +23951,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static - void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, ref Int32 @params) + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23961,7 +23961,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glColorTableParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -23991,13 +23991,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32* @params) + 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.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params); + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params); #if DEBUG } #endif @@ -24034,13 +24034,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyColorTable")] public static - void CopyColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + 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.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -24072,13 +24072,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) + 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.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); #if DEBUG } #endif @@ -24110,7 +24110,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) where T3 : struct { #if DEBUG @@ -24120,7 +24120,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -24157,7 +24157,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) where T3 : struct { #if DEBUG @@ -24167,7 +24167,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -24204,7 +24204,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) where T3 : struct { #if DEBUG @@ -24214,7 +24214,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -24251,7 +24251,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) where T3 : struct { #if DEBUG @@ -24261,7 +24261,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -24293,7 +24293,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static - void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24303,7 +24303,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -24332,7 +24332,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static - void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24342,7 +24342,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -24373,13 +24373,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single* @params) + 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.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); #if DEBUG } #endif @@ -24406,7 +24406,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static - void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24416,7 +24416,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -24445,7 +24445,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static - void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24455,7 +24455,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -24486,13 +24486,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params) + 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.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params); + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); #if DEBUG } #endif @@ -24534,13 +24534,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr 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.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); #if DEBUG } #endif @@ -24582,7 +24582,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + 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 @@ -24592,7 +24592,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -24639,7 +24639,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.Version12 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 @@ -24649,7 +24649,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -24696,7 +24696,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.Version12 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 @@ -24706,7 +24706,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -24753,7 +24753,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.Version12 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 @@ -24763,7 +24763,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -24800,13 +24800,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyColorSubTable")] public static - void CopyColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 x, Int32 y, Int32 width) + 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.Version12)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -24848,13 +24848,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + 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.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + 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 @@ -24896,7 +24896,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + 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 @@ -24906,7 +24906,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -24953,7 +24953,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + 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 @@ -24963,7 +24963,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25010,7 +25010,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + 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 @@ -25020,7 +25020,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25067,7 +25067,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + 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 @@ -25077,7 +25077,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25129,13 +25129,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + 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.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + 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 @@ -25182,7 +25182,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + 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 @@ -25192,7 +25192,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25244,7 +25244,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + 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 @@ -25254,7 +25254,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25306,7 +25306,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + 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 @@ -25316,7 +25316,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25368,7 +25368,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + 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 @@ -25378,7 +25378,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + 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 { @@ -25413,13 +25413,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameterf")] public static - void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterf((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single)@params); + Delegates.glConvolutionParameterf((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single)@params); #if DEBUG } #endif @@ -25449,7 +25449,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static - void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single[] @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25459,7 +25459,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -25492,7 +25492,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static - void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, ref Single @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25502,7 +25502,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -25535,13 +25535,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single* @params) + 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.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); + Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -25571,13 +25571,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameteri")] public static - void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32 @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameteri((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32)@params); + Delegates.glConvolutionParameteri((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32)@params); #if DEBUG } #endif @@ -25607,7 +25607,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32[] @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25617,7 +25617,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -25650,7 +25650,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, ref Int32 @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25660,7 +25660,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -25693,13 +25693,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32* @params) + 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.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params); + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -25731,13 +25731,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")] public static - void CopyConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + 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.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -25774,13 +25774,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")] public static - void CopyConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + 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.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -25812,13 +25812,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) + 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.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -25850,7 +25850,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) where T3 : struct { #if DEBUG @@ -25860,7 +25860,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -25897,7 +25897,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) where T3 : struct { #if DEBUG @@ -25907,7 +25907,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -25944,7 +25944,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) where T3 : struct { #if DEBUG @@ -25954,7 +25954,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -25991,7 +25991,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) where T3 : struct { #if DEBUG @@ -26001,7 +26001,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -26033,7 +26033,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static - void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26043,7 +26043,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); } } #if DEBUG @@ -26072,7 +26072,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static - void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26082,7 +26082,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -26113,13 +26113,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single* @params) + unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); #if DEBUG } #endif @@ -26146,7 +26146,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static - void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26156,7 +26156,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -26185,7 +26185,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static - void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26195,7 +26195,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -26226,13 +26226,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params) + unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params); + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12)pname, (Int32*)@params); #if DEBUG } #endif @@ -101026,13 +101026,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr 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.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); #if DEBUG } #endif @@ -101074,7 +101074,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + 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 @@ -101084,7 +101084,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101131,7 +101131,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ExtColorSubtable 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 @@ -101141,7 +101141,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101188,7 +101188,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ExtColorSubtable 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 @@ -101198,7 +101198,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101245,7 +101245,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ExtColorSubtable 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 @@ -101255,7 +101255,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101292,13 +101292,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] public static - void CopyColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 x, Int32 y, Int32 width) + 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.ExtColorSubtable)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -101340,13 +101340,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + 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.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); #if DEBUG } #endif @@ -101388,7 +101388,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + 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 @@ -101398,7 +101398,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -101445,7 +101445,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + 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 @@ -101455,7 +101455,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -101502,7 +101502,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + 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 @@ -101512,7 +101512,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -101559,7 +101559,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + 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 @@ -101569,7 +101569,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -101606,13 +101606,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data) + 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.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); #if DEBUG } #endif @@ -101644,7 +101644,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -101654,7 +101654,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101691,7 +101691,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -101701,7 +101701,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101738,7 +101738,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -101748,7 +101748,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101785,7 +101785,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -101795,7 +101795,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -101827,7 +101827,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Int32[] @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101837,7 +101837,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -101866,7 +101866,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] out Int32 @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101876,7 +101876,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -101907,13 +101907,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Int32* @params) + 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.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Int32*)@params); + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); #if DEBUG } #endif @@ -101940,7 +101940,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Single[] @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101950,7 +101950,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -101979,7 +101979,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] out Single @params) + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101989,7 +101989,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -102020,13 +102020,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Single* @params) + 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.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Single*)@params); + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); #if DEBUG } #endif diff --git a/Source/OpenTK/Graphics/GL/GLCore.cs b/Source/OpenTK/Graphics/GL/GLCore.cs index 669ff1ad..fe65f6c6 100644 --- a/Source/OpenTK/Graphics/GL/GLCore.cs +++ b/Source/OpenTK/Graphics/GL/GLCore.cs @@ -1054,64 +1054,64 @@ namespace OpenTK.Graphics internal extern static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)] - internal extern static void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal extern static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single* @params); + internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32* @params); + internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)] - internal extern static void CopyColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)] - internal extern static void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + internal extern static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single* @params); + internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params); + internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)] - internal extern static void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal extern static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)] - internal extern static void CopyColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)] - internal extern static void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] - internal extern static void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal extern 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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] - internal extern static void ConvolutionParameterf(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single @params); + internal extern static void ConvolutionParameterf(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single* @params); + internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] - internal extern static void ConvolutionParameteri(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32 @params); + internal extern static void ConvolutionParameteri(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32* @params); + internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)] - internal extern static void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + internal extern static void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single* @params); + internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params); + internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)] internal extern static void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); diff --git a/Source/OpenTK/Graphics/GL/GLDelegates.cs b/Source/OpenTK/Graphics/GL/GLDelegates.cs index 0a7348b1..6b14c482 100644 --- a/Source/OpenTK/Graphics/GL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/GL/GLDelegates.cs @@ -1055,64 +1055,64 @@ namespace OpenTK.Graphics internal delegate void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); internal static DrawRangeElements glDrawRangeElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal delegate void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); internal static ColorTable glColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single* @params); + internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params); internal unsafe static ColorTableParameterfv glColorTableParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32* @params); + internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params); internal unsafe static ColorTableParameteriv glColorTableParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyColorTable glCopyColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + internal delegate void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); internal static GetColorTable glGetColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single* @params); + internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); internal unsafe static GetColorTableParameterfv glGetColorTableParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params); + internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); internal unsafe static GetColorTableParameteriv glGetColorTableParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal delegate void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); internal static ColorSubTable glColorSubTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); internal static CopyColorSubTable glCopyColorSubTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); internal static ConvolutionFilter1D glConvolutionFilter1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); internal static ConvolutionFilter2D glConvolutionFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterf(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single @params); + internal delegate void ConvolutionParameterf(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params); internal static ConvolutionParameterf glConvolutionParameterf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single* @params); + internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params); internal unsafe static ConvolutionParameterfv glConvolutionParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteri(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32 @params); + internal delegate void ConvolutionParameteri(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params); internal static ConvolutionParameteri glConvolutionParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32* @params); + internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params); internal unsafe static ConvolutionParameteriv glConvolutionParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + internal delegate void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); internal static GetConvolutionFilter glGetConvolutionFilter; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single* @params); + internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Single* @params); internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params); + internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12 pname, [Out] Int32* @params); internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); @@ -3011,25 +3011,25 @@ namespace OpenTK.Graphics internal unsafe delegate void GetImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params); internal unsafe static GetImageTransformParameterfvHP glGetImageTransformParameterfvHP; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTableEXT(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal delegate void ColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); internal static ColorSubTableEXT glColorSubTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTableEXT(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); internal static CopyColorSubTableEXT glCopyColorSubTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void HintPGI(OpenTK.Graphics.PgiMiscHints target, Int32 mode); internal static HintPGI glHintPGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTableEXT(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal delegate void ColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); internal static ColorTableEXT glColorTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTableEXT(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data); + internal delegate void GetColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data); internal static GetColorTableEXT glGetColorTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Int32* @params); + internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); internal unsafe static GetColorTableParameterivEXT glGetColorTableParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Single* @params); + internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); internal unsafe static GetColorTableParameterfvEXT glGetColorTableParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params); diff --git a/Source/OpenTK/Graphics/GL/GLEnums.cs b/Source/OpenTK/Graphics/GL/GLEnums.cs index 1099cafe..8af6706c 100644 --- a/Source/OpenTK/Graphics/GL/GLEnums.cs +++ b/Source/OpenTK/Graphics/GL/GLEnums.cs @@ -372,8 +372,11 @@ namespace OpenTK.Graphics SampleCoverage = ((int)0X80a0), SampleMaskSgis = ((int)0X80a0), TextureColorTableSgi = ((int)0X80bc), + ColorTable = ((int)0X80D0), ColorTableSgi = ((int)0X80D0), + PostConvolutionColorTable = ((int)0X80D1), PostConvolutionColorTableSgi = ((int)0X80D1), + PostColorMatrixColorTable = ((int)0X80D2), PostColorMatrixColorTableSgi = ((int)0X80D2), Texture4DSgis = ((int)0X8134), PixelTexGenSgix = ((int)0X8139), @@ -9493,6 +9496,49 @@ namespace OpenTK.Graphics FuncReverseSubtract = ((int)0X800b), } + public enum ColorTableTarget + { + ColorTable = ((int)0X80D0), + PostConvolutionColorTable = ((int)0X80D1), + PostColorMatrixColorTable = ((int)0X80D2), + ProxyColorTable = ((int)0X80D3), + ProxyPostConvolutionColorTable = ((int)0X80D4), + ProxyPostColorMatrixColorTable = ((int)0X80D5), + } + + public enum ColorTableParameterPName + { + ColorTableScale = ((int)0X80D6), + ColorTableBias = ((int)0X80D7), + } + + public enum GetColorTableParameterPName + { + ColorTableScale = ((int)0X80D6), + ColorTableBias = ((int)0X80D7), + ColorTableFormat = ((int)0X80D8), + ColorTableWidth = ((int)0X80D9), + ColorTableRedSize = ((int)0X80Da), + ColorTableGreenSize = ((int)0X80Db), + ColorTableBlueSize = ((int)0X80Dc), + ColorTableAlphaSize = ((int)0X80Dd), + ColorTableLuminanceSize = ((int)0X80De), + ColorTableIntensitySize = ((int)0X80Df), + } + + public enum ConvolutionParameter + { + ConvolutionBorderMode = ((int)0X8013), + ConvolutionFilterScale = ((int)0X8014), + ConvolutionFilterBias = ((int)0X8015), + } + + public enum ConvolutionTarget + { + Convolution1D = ((int)0X8010), + Convolution2D = ((int)0X8011), + } + public enum TextureEnvModeCombine { Add = ((int)0X0104),