diff --git a/Source/Bind/FuncProcessor.cs b/Source/Bind/FuncProcessor.cs index 9526fc0a..42abddd3 100644 --- a/Source/Bind/FuncProcessor.cs +++ b/Source/Bind/FuncProcessor.cs @@ -85,7 +85,6 @@ namespace Bind foreach (var d in signatures) { var replace = GetFuncOverride(nav, d, apiname, apiversion); - TranslateExtension(d); TranslateReturnType(d, replace, nav, enum_processor, enums, apiname, version); TranslateParameters(d, replace, nav, enum_processor, enums, apiname, version); @@ -114,12 +113,12 @@ namespace Bind } } - Console.WriteLine("Generating convenience overloads."); - delegates.AddRange(CreateConvenienceOverloads(delegates)); - Console.WriteLine("Generating wrappers."); var wrappers = CreateWrappers(delegates, enums); + Console.WriteLine("Generating convenience overloads."); + wrappers.AddRange(CreateConvenienceOverloads(wrappers)); + Console.WriteLine("Generating CLS compliant overloads."); wrappers = CreateCLSCompliantWrappers(wrappers, enums); @@ -215,8 +214,11 @@ namespace Bind category = enum_processor.TranslateEnumName(category); // Try to find out if it is an enum. If the type exists in the normal GLEnums list, use this. - // Special case for Boolean - it is an enum, but it is dumb to use that instead of the 'bool' type. - bool normal = enums.TryGetValue(type.CurrentType, out @enum); + // Special case for Boolean which is there simply because C89 does not support bool types. + // We don't really need that in C# + bool normal = + enums.TryGetValue(type.CurrentType, out @enum) || + enums.TryGetValue(enum_processor.TranslateEnumName(type.CurrentType), out @enum); // Translate enum types type.IsEnum = false; @@ -233,7 +235,9 @@ namespace Bind // Some functions and enums have the same names. // Make sure we reference the enums rather than the functions. if (normal) - type.QualifiedType = type.CurrentType.Insert(0, String.Format("{0}.", Settings.EnumsOutput)); + { + type.QualifiedType = String.Format("{0}.{1}", Settings.EnumsOutput, @enum.Name); + } } } else if (Generator.GLTypes.TryGetValue(type.CurrentType, out s)) @@ -328,7 +332,7 @@ namespace Bind } return extension; } - + void TranslateExtension(Delegate d) { d.Extension = TranslateExtension(d.Extension); @@ -382,16 +386,6 @@ namespace Bind } } - // If we have a convenience overload, we should turn the name from - // plural into singular - if (d.ReturnType.WrapperType == WrapperTypes.ConvenienceReturnType || - d.ReturnType.WrapperType == WrapperTypes.ConvenienceArrayReturnType || - d.Parameters.Any(p => p.WrapperType == WrapperTypes.ConvenienceArrayType)) - { - trimmed_name = trimmed_name.Replace("Queries", "Query"); - trimmed_name = trimmed_name.TrimEnd('s'); - } - return trimmed_name; } @@ -511,7 +505,7 @@ namespace Bind { ApplyReturnTypeReplacement(d, function_override); - TranslateType(d.ReturnType, function_override, nav, enum_processor,enums, d.Category, apiname); + TranslateType(d.ReturnType, function_override, nav, enum_processor, enums, d.Category, apiname); if (d.ReturnType.CurrentType.ToLower().Contains("void") && d.ReturnType.Pointer != 0) { @@ -608,7 +602,7 @@ namespace Bind } else if (p.CurrentType.ToLower().Contains("void") || (!String.IsNullOrEmpty(p.PreviousType) && p.PreviousType.ToLower().Contains("void"))) - //|| CurrentType.Contains("IntPtr")) + //|| CurrentType.Contains("IntPtr")) { p.CurrentType = "IntPtr"; p.Pointer = 0; @@ -846,17 +840,17 @@ namespace Bind } } - IEnumerable CreateConvenienceOverloads(DelegateCollection delegates) + IEnumerable CreateConvenienceOverloads(FunctionCollection wrappers) { - foreach (var list in delegates.Values) + var convenience_wrappers = new List(); + foreach (var d in wrappers.Values.SelectMany(w => w)) { - var d = list.First(); if (d.Parameters.Count > 0 && d.Parameters.Count <= 2) { var p = d.Parameters.Last(); var r = d.ReturnType; - var name = GetTrimmedName(d); + var name = d.Name; bool is_candidate = true; is_candidate &= @@ -869,28 +863,41 @@ namespace Bind is_candidate &= p.ElementCount == 0 || p.ElementCount == 1; is_candidate &= r.CurrentType == "void" && r.Pointer == 0; + Function f = null; if (is_candidate && p.Flow == FlowDirection.Out) { // Match Gen*|Get*|New*([Out] int[] names) methods - var f = CreateReturnTypeConvenienceWrapper(d); - yield return f; + f = CreateReturnTypeConvenienceWrapper(d); } else if (is_candidate && p.Flow != FlowDirection.Out) { // Match *Delete(int count, int[] names) methods if (d.Parameters.Count == 2) { - var f = CreateArrayReturnTypeConvencienceWrapper(d); - yield return f; + f = CreateArrayReturnTypeConvenienceWrapper(d); } } + + if (f != null) + { + // If we have a convenience overload, we should turn its name from + // plural into singular + if (f.ReturnType.WrapperType == WrapperTypes.ConvenienceReturnType || + f.ReturnType.WrapperType == WrapperTypes.ConvenienceArrayReturnType || + f.Parameters.Any(t => t.WrapperType == WrapperTypes.ConvenienceArrayType)) + { + f.TrimmedName = f.TrimmedName.Replace("Queries", "Query").TrimEnd('s'); + } + convenience_wrappers.Add(f); + } } } + return convenience_wrappers; } - static Delegate CreateReturnTypeConvenienceWrapper(Delegate d) + static Function CreateReturnTypeConvenienceWrapper(Function d) { - var f = new Delegate(d); + var f = new Function(d); f.ReturnType = new Type(f.Parameters.Last()); f.ReturnType.Pointer = 0; f.Parameters.RemoveAt(f.Parameters.Count - 1); @@ -908,9 +915,9 @@ namespace Bind return f; } - static Delegate CreateArrayReturnTypeConvencienceWrapper(Delegate d) + static Function CreateArrayReturnTypeConvenienceWrapper(Function d) { - var f = new Delegate(d); + var f = new Function(d); var p_array = f.Parameters.Last(); var p_size = f.Parameters[f.Parameters.Count - 2]; f.Parameters.RemoveAt(f.Parameters.Count - 2); diff --git a/Source/Bind/Specifications/GL2/overrides.xml b/Source/Bind/Specifications/GL2/overrides.xml index e6ca445c..2ab53f02 100644 --- a/Source/Bind/Specifications/GL2/overrides.xml +++ b/Source/Bind/Specifications/GL2/overrides.xml @@ -1956,6 +1956,207 @@ BeginMode + + + ArbVertexBufferObject + + + + + ArbVertexBufferObject + + + + + ArbVertexBufferObject + + + + + ExtBlendEquationSeparate + + + ExtBlendEquationSeparate + + + + + ExtConvolution + + + + + ExtConvolution + + + + + ExtConvolution + + + ExtConvolution + + + + + ExtConvolution + + + + + ExtConvolution + + + + + ExtFogCoord + + + + + ExtConvolution + + + + + ExtConvolution + + + ExtConvolution + + + + + ExtHistogram + + + + + ExtHistogram + + + ExtHistogram + + + + + ExtHistogram + + + + + ExtHistogram + + + ExtHistogram + + + + + ExtHistogram + + + + + ExtHistogram + + + + + ExtHistogram + + + + + ExtHistogram + + + + + NvTransformFeedback2 + + + + + SgiColorTable + + + + + SgiColorTable + + + SgiColorTable + + + + + SgiColorTable + + + + + SgiColorTable + + + + + SgiColorTable + + + SgiColorTable + + + + + SgisPixelTexture + + + + + SgisPixelTexture + + + + + SgisMultisample + + + + + int + + + + + uint + + + + + SgixPolynomialFfd + + + + + SgixFragmentLighting + + + + + SgixFragmentLighting + + + + + int + + + + + uint + + diff --git a/Source/Bind/Specifications/GL2/signatures.xml b/Source/Bind/Specifications/GL2/signatures.xml index 55ee5928..f0a3a3e4 100644 --- a/Source/Bind/Specifications/GL2/signatures.xml +++ b/Source/Bind/Specifications/GL2/signatures.xml @@ -74,6 +74,14 @@ + + + + + + + + @@ -3370,6 +3378,10 @@ + + + + @@ -3385,6 +3397,14 @@ + + + + + + + + @@ -4519,16 +4539,9 @@ - - - - - - - - + @@ -4542,6 +4555,7 @@ + @@ -4564,6 +4578,7 @@ + @@ -4573,6 +4588,7 @@ + @@ -5381,6 +5397,13 @@ + + + + + + + @@ -15066,6 +15089,13 @@ + + + + + + + @@ -25725,6 +25755,10 @@ + + + + @@ -27802,6 +27836,10 @@ + + + + @@ -27809,6 +27847,14 @@ + + + + + + + + @@ -28629,6 +28675,13 @@ + + + + + + + @@ -35931,6 +35984,10 @@ + + + + @@ -37219,6 +37276,10 @@ + + + + @@ -37234,6 +37295,14 @@ + + + + + + + + @@ -38150,6 +38219,13 @@ + + + + + + + @@ -42081,6 +42157,10 @@ + + + + @@ -42096,6 +42176,14 @@ + + + + + + + + @@ -43142,16 +43230,9 @@ - - - - - - - - + @@ -43165,6 +43246,7 @@ + @@ -43187,6 +43269,7 @@ + @@ -43196,6 +43279,7 @@ + @@ -43334,6 +43418,13 @@ + + + + + + + @@ -43458,6 +43549,26 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Bind/Structures/Function.cs b/Source/Bind/Structures/Function.cs index a66fce73..18d88a00 100644 --- a/Source/Bind/Structures/Function.cs +++ b/Source/Bind/Structures/Function.cs @@ -36,6 +36,7 @@ namespace Bind.Structures Parameters = new ParameterCollection(f.Parameters); ReturnType = new Type(f.ReturnType); TrimmedName = f.TrimmedName; + Obsolete = f.Obsolete; Body.AddRange(f.Body); } diff --git a/Source/OpenTK/Graphics/ES11/ES11.cs b/Source/OpenTK/Graphics/ES11/ES11.cs index 77c1725c..f1e38bc7 100644 --- a/Source/OpenTK/Graphics/ES11/ES11.cs +++ b/Source/OpenTK/Graphics/ES11/ES11.cs @@ -765,6 +765,7 @@ namespace OpenTK.Graphics.ES11 /// Specifies the name of a texture. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")] public static void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture) @@ -12237,6 +12238,7 @@ namespace OpenTK.Graphics.ES11 /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")] public static void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask) @@ -15871,6 +15873,7 @@ namespace OpenTK.Graphics.ES11 /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] public static void BlendEquation(OpenTK.Graphics.ES11.All mode) @@ -15879,7 +15882,34 @@ namespace OpenTK.Graphics.ES11 using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.All)mode); + Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.BlendEquationModeExt)mode); + #if DEBUG + } + #endif + } + + /// [requires: EXT_blend_minmax] + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation. + /// + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] + public static + void BlendEquation(OpenTK.Graphics.ES11.BlendEquationModeExt mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.BlendEquationModeExt)mode); #if DEBUG } #endif diff --git a/Source/OpenTK/Graphics/ES11/ES11Core.cs b/Source/OpenTK/Graphics/ES11/ES11Core.cs index c46419b2..294934ec 100644 --- a/Source/OpenTK/Graphics/ES11/ES11Core.cs +++ b/Source/OpenTK/Graphics/ES11/ES11Core.cs @@ -77,7 +77,7 @@ namespace OpenTK.Graphics.ES11 internal extern static void BlendColorxOES(int red, int green, int blue, int alpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] - internal extern static void BlendEquationEXT(OpenTK.Graphics.ES11.All mode); + internal extern static void BlendEquationEXT(OpenTK.Graphics.ES11.BlendEquationModeExt mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationOES", ExactSpelling = true)] internal extern static void BlendEquationOES(OpenTK.Graphics.ES11.All mode); diff --git a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs index 121e13e7..92f688af 100644 --- a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs +++ b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs @@ -75,7 +75,7 @@ namespace OpenTK.Graphics.ES11 internal delegate void BlendColorxOES(int red, int green, int blue, int alpha); internal static BlendColorxOES glBlendColorxOES; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationEXT(OpenTK.Graphics.ES11.All mode); + internal delegate void BlendEquationEXT(OpenTK.Graphics.ES11.BlendEquationModeExt mode); internal static BlendEquationEXT glBlendEquationEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendEquationOES(OpenTK.Graphics.ES11.All mode); diff --git a/Source/OpenTK/Graphics/ES11/ES11Enums.cs b/Source/OpenTK/Graphics/ES11/ES11Enums.cs index a8751a59..3d6a9192 100644 --- a/Source/OpenTK/Graphics/ES11/ES11Enums.cs +++ b/Source/OpenTK/Graphics/ES11/ES11Enums.cs @@ -110,6 +110,10 @@ namespace OpenTK.Graphics.ES11 /// CurrentBit = ((int)0x00000001) , /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// /// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001 /// SyncFlushCommandsBitApple = ((int)0x00000001) , @@ -170,6 +174,10 @@ namespace OpenTK.Graphics.ES11 /// PointBit = ((int)0x00000002) , /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// /// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004 /// ColorBufferBit2Qcom = ((int)0x00000004) , @@ -186,6 +194,10 @@ namespace OpenTK.Graphics.ES11 /// LineBit = ((int)0x00000004) , /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004 /// UniformBarrierBit = ((int)0x00000004) , @@ -202,6 +214,10 @@ namespace OpenTK.Graphics.ES11 /// PolygonBit = ((int)0x00000008) , /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 /// TessControlShaderBit = ((int)0x00000008) , @@ -5834,6 +5850,10 @@ namespace OpenTK.Graphics.ES11 /// ClientAllAttribBits = unchecked((int)0xFFFFFFFF) , /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + /// /// Original was GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF /// TimeoutIgnoredApple = unchecked((int)0xFFFFFFFFFFFFFFFF) , @@ -6455,7 +6475,7 @@ namespace OpenTK.Graphics.ES11 } /// - /// Not used directly. + /// Used in GL.Ext.BlendEquation /// public enum BlendEquationModeExt : int { @@ -8156,6 +8176,21 @@ namespace OpenTK.Graphics.ES11 TextureDeformationSgix = ((int)0x8195) , } + /// + /// Not used directly. + /// + public enum FogCoordinatePointerType : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + /// /// Not used directly. /// @@ -8214,6 +8249,36 @@ namespace OpenTK.Graphics.ES11 FogOffsetValueSgix = ((int)0x8199) , } + /// + /// Not used directly. + /// + public enum FogPointerTypeExt : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Not used directly. + /// + public enum FogPointerTypeIbm : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + /// /// Not used directly. /// @@ -11987,6 +12052,34 @@ namespace OpenTK.Graphics.ES11 FenceConditionNv = ((int)0x84F4) , } + /// + /// Not used directly. + /// + [Flags] + public enum OcclusionQueryEventMaskAmd : int + { + /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + } + /// /// Not used directly. /// diff --git a/Source/OpenTK/Graphics/ES20/ES20.cs b/Source/OpenTK/Graphics/ES20/ES20.cs index 5812b3ed..1e74f5ea 100644 --- a/Source/OpenTK/Graphics/ES20/ES20.cs +++ b/Source/OpenTK/Graphics/ES20/ES20.cs @@ -2233,6 +2233,7 @@ namespace OpenTK.Graphics.ES20 /// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] public static OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout) @@ -3047,6 +3048,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] public static void WaitSync(IntPtr sync, OpenTK.Graphics.ES20.All flags, Int64 timeout) @@ -3340,6 +3342,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the name of a buffer object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] public static void BindBuffer(OpenTK.Graphics.ES20.All target, Int32 buffer) @@ -3451,6 +3454,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the name of the framebuffer object to bind. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] public static void BindFramebuffer(OpenTK.Graphics.ES20.All target, Int32 framebuffer) @@ -3562,6 +3566,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the name of the renderbuffer object to bind. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] public static void BindRenderbuffer(OpenTK.Graphics.ES20.All target, Int32 renderbuffer) @@ -3673,6 +3678,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the name of a texture. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] public static void BindTexture(OpenTK.Graphics.ES20.All target, Int32 texture) @@ -8071,6 +8077,7 @@ namespace OpenTK.Graphics.ES20 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] public static void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled) @@ -8124,6 +8131,7 @@ namespace OpenTK.Graphics.ES20 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] public static void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled) @@ -8177,6 +8185,7 @@ namespace OpenTK.Graphics.ES20 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] public static @@ -8694,6 +8703,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a character array containing the message to insert. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] public static void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf) @@ -11104,6 +11114,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] public static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, Int32 renderbuffer) @@ -11310,6 +11321,7 @@ namespace OpenTK.Graphics.ES20 } /// [requires: v2.0 and ES_VERSION_2_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] public static void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, Int32 texture, Int32 level) @@ -12533,6 +12545,7 @@ namespace OpenTK.Graphics.ES20 /// Returns a null terminated string containing the name of the attribute variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name) @@ -12649,6 +12662,7 @@ namespace OpenTK.Graphics.ES20 /// Returns a null terminated string containing the name of the attribute variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static @@ -13001,6 +13015,7 @@ namespace OpenTK.Graphics.ES20 /// Returns a null terminated string containing the name of the uniform variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.All type, [OutAttribute] StringBuilder name) @@ -13117,6 +13132,7 @@ namespace OpenTK.Graphics.ES20 /// Returns a null terminated string containing the name of the uniform variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static @@ -14113,6 +14129,7 @@ namespace OpenTK.Graphics.ES20 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) @@ -14180,6 +14197,7 @@ namespace OpenTK.Graphics.ES20 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) @@ -14253,6 +14271,7 @@ namespace OpenTK.Graphics.ES20 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] public static @@ -15616,6 +15635,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] public static void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) @@ -15664,6 +15684,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] public static void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) @@ -15713,6 +15734,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] public static @@ -17423,6 +17445,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) @@ -17461,6 +17484,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) @@ -17500,6 +17524,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -18486,6 +18511,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) @@ -18524,6 +18550,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) @@ -18563,6 +18590,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -20583,6 +20611,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Single[] @params) @@ -20621,6 +20650,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Single @params) @@ -20660,6 +20690,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -21030,6 +21061,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) @@ -21068,6 +21100,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) @@ -21107,6 +21140,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -21477,6 +21511,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr pointer) @@ -21509,6 +21544,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[] pointer) @@ -21550,6 +21586,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,] pointer) @@ -21591,6 +21628,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T2[,,] pointer) @@ -21632,6 +21670,7 @@ namespace OpenTK.Graphics.ES20 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T2 pointer) @@ -22732,6 +22771,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string containing the label to assign to the object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] public static void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label) @@ -23904,6 +23944,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) @@ -23952,6 +23993,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) @@ -24009,6 +24051,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) @@ -24066,6 +24109,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) @@ -24123,6 +24167,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) @@ -24458,6 +24503,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, IntPtr binary, Int32 length) @@ -24506,6 +24552,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) @@ -24563,6 +24610,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) @@ -24620,6 +24668,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) @@ -24677,6 +24726,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES20.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) @@ -25012,6 +25062,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -25055,6 +25106,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -25107,6 +25159,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -25159,6 +25212,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -25211,6 +25265,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -27403,6 +27458,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] public static void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask) @@ -27539,6 +27595,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] public static void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, Int32 mask) @@ -27802,6 +27859,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] public static void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, Int32 mask) @@ -34054,6 +34112,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr pointer) @@ -34101,6 +34160,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) @@ -34157,6 +34217,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) @@ -34213,6 +34274,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) @@ -34269,6 +34331,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) @@ -35252,6 +35315,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the name of a query object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] public static void BeginQuery(OpenTK.Graphics.ES20.All target, Int32 id) @@ -37430,6 +37494,7 @@ namespace OpenTK.Graphics.ES20 } /// [requires: EXT_multiview_draw_buffers] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] public static void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] Int32[] data) @@ -37451,6 +37516,7 @@ namespace OpenTK.Graphics.ES20 } /// [requires: EXT_multiview_draw_buffers] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] public static void GetInteger(OpenTK.Graphics.ES20.All target, Int32 index, [OutAttribute] out Int32 data) @@ -37473,6 +37539,7 @@ namespace OpenTK.Graphics.ES20 } /// [requires: EXT_multiview_draw_buffers] + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] public static @@ -38807,6 +38874,7 @@ namespace OpenTK.Graphics.ES20 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int64[] @params) @@ -38845,6 +38913,7 @@ namespace OpenTK.Graphics.ES20 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int64 @params) @@ -38884,6 +38953,7 @@ namespace OpenTK.Graphics.ES20 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] public static @@ -39254,6 +39324,7 @@ namespace OpenTK.Graphics.ES20 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params) @@ -39292,6 +39363,7 @@ namespace OpenTK.Graphics.ES20 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params) @@ -39331,6 +39403,7 @@ namespace OpenTK.Graphics.ES20 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] public static @@ -40296,6 +40369,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies a combination of access flags indicating the desired access to the range. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] public static IntPtr MapBufferRange(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr length, Int32 access) @@ -42339,6 +42413,7 @@ namespace OpenTK.Graphics.ES20 /// Specifies the new value of the parameter specified by pname for program. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] public static void ProgramParameter(Int32 program, OpenTK.Graphics.ES20.All pname, Int32 value) @@ -48814,6 +48889,7 @@ namespace OpenTK.Graphics.ES20 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] public static void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, Int32[] ids, bool enabled) @@ -48867,6 +48943,7 @@ namespace OpenTK.Graphics.ES20 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] public static void DebugMessageControl(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, OpenTK.Graphics.ES20.All severity, Int32 count, ref Int32 ids, bool enabled) @@ -48920,6 +48997,7 @@ namespace OpenTK.Graphics.ES20 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] public static @@ -49437,6 +49515,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a character array containing the message to insert. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] public static void DebugMessageInsert(OpenTK.Graphics.ES20.All source, OpenTK.Graphics.ES20.All type, Int32 id, OpenTK.Graphics.ES20.All severity, Int32 length, String buf) @@ -49638,6 +49717,7 @@ namespace OpenTK.Graphics.ES20 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.All[] sources, [OutAttribute] OpenTK.Graphics.ES20.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES20.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) @@ -49705,6 +49785,7 @@ namespace OpenTK.Graphics.ES20 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES20.All sources, [OutAttribute] out OpenTK.Graphics.ES20.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES20.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) @@ -49778,6 +49859,7 @@ namespace OpenTK.Graphics.ES20 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] public static @@ -50422,6 +50504,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] public static void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) @@ -50470,6 +50553,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] public static void GetObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) @@ -50519,6 +50603,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] public static @@ -51832,6 +51917,7 @@ namespace OpenTK.Graphics.ES20 /// The address of a string containing the label to assign to the object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] public static void ObjectLabel(OpenTK.Graphics.ES20.All identifier, Int32 name, Int32 length, String label) diff --git a/Source/OpenTK/Graphics/ES20/ES20Enums.cs b/Source/OpenTK/Graphics/ES20/ES20Enums.cs index 0699580d..a9a18b01 100644 --- a/Source/OpenTK/Graphics/ES20/ES20Enums.cs +++ b/Source/OpenTK/Graphics/ES20/ES20Enums.cs @@ -220,6 +220,10 @@ namespace OpenTK.Graphics.ES20 /// CurrentBit = ((int)0x00000001) , /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// /// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001 /// SyncFlushCommandsBitApple = ((int)0x00000001) , @@ -280,6 +284,10 @@ namespace OpenTK.Graphics.ES20 /// PointBit = ((int)0x00000002) , /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// /// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004 /// ColorBufferBit2Qcom = ((int)0x00000004) , @@ -296,6 +304,10 @@ namespace OpenTK.Graphics.ES20 /// LineBit = ((int)0x00000004) , /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004 /// UniformBarrierBit = ((int)0x00000004) , @@ -312,6 +324,10 @@ namespace OpenTK.Graphics.ES20 /// PolygonBit = ((int)0x00000008) , /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 /// TessControlShaderBit = ((int)0x00000008) , @@ -7200,6 +7216,46 @@ namespace OpenTK.Graphics.ES20 /// CompressedRgbaAstc12X12Khr = ((int)0x93BD) , /// + /// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0 + /// + CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1 + /// + CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2 + /// + CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3 + /// + CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4 + /// + CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5 + /// + CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6 + /// + CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7 + /// + CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8 + /// + CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9 + /// + CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) , + /// /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0 /// CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) , @@ -7256,6 +7312,46 @@ namespace OpenTK.Graphics.ES20 /// CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) , /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0 + /// + CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1 + /// + CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2 + /// + CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3 + /// + CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4 + /// + CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5 + /// + CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6 + /// + CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7 + /// + CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8 + /// + CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9 + /// + CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) , + /// /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF /// AllAttribBits = unchecked((int)0xFFFFFFFF) , @@ -7280,6 +7376,10 @@ namespace OpenTK.Graphics.ES20 /// ClientAllAttribBits = unchecked((int)0xFFFFFFFF) , /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + /// /// Original was GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF /// TimeoutIgnoredApple = unchecked((int)0xFFFFFFFFFFFFFFFF) , @@ -11713,6 +11813,21 @@ namespace OpenTK.Graphics.ES20 GccsoShaderBinaryFj = ((int)0x9260) , } + /// + /// Not used directly. + /// + public enum FogCoordinatePointerType : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + /// /// Not used directly. /// @@ -11771,6 +11886,36 @@ namespace OpenTK.Graphics.ES20 FogOffsetValueSgix = ((int)0x8199) , } + /// + /// Not used directly. + /// + public enum FogPointerTypeExt : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Not used directly. + /// + public enum FogPointerTypeIbm : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + /// /// Not used directly. /// @@ -16319,10 +16464,6 @@ namespace OpenTK.Graphics.ES20 /// Zero = ((int)0) , /// - /// Original was GL_XOR = 0x1506 - /// - Xor = ((int)0x1506) , - /// /// Original was GL_XOR_NV = 0x1506 /// XorNv = ((int)0x1506) , @@ -16331,26 +16472,14 @@ namespace OpenTK.Graphics.ES20 /// Invert = ((int)0x150A) , /// - /// Original was GL_RED = 0x1903 - /// - Red = ((int)0x1903) , - /// /// Original was GL_RED_NV = 0x1903 /// RedNv = ((int)0x1903) , /// - /// Original was GL_GREEN = 0x1904 - /// - Green = ((int)0x1904) , - /// /// Original was GL_GREEN_NV = 0x1904 /// GreenNv = ((int)0x1904) , /// - /// Original was GL_BLUE = 0x1905 - /// - Blue = ((int)0x1905) , - /// /// Original was GL_BLUE_NV = 0x1905 /// BlueNv = ((int)0x1905) , @@ -17138,6 +17267,34 @@ namespace OpenTK.Graphics.ES20 Renderbuffer = ((int)0X8d41) , } + /// + /// Not used directly. + /// + [Flags] + public enum OcclusionQueryEventMaskAmd : int + { + /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + } + /// /// Not used directly. /// @@ -17572,6 +17729,46 @@ namespace OpenTK.Graphics.ES20 /// CompressedRgbaAstc12X12Khr = ((int)0x93BD) , /// + /// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0 + /// + CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1 + /// + CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2 + /// + CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3 + /// + CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4 + /// + CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5 + /// + CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6 + /// + CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7 + /// + CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8 + /// + CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9 + /// + CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) , + /// /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0 /// CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) , @@ -17627,6 +17824,46 @@ namespace OpenTK.Graphics.ES20 /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD /// CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0 + /// + CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1 + /// + CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2 + /// + CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3 + /// + CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4 + /// + CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5 + /// + CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6 + /// + CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7 + /// + CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8 + /// + CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9 + /// + CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) , } /// diff --git a/Source/OpenTK/Graphics/ES30/ES30.cs b/Source/OpenTK/Graphics/ES30/ES30.cs index eee7b02d..282e72a2 100644 --- a/Source/OpenTK/Graphics/ES30/ES30.cs +++ b/Source/OpenTK/Graphics/ES30/ES30.cs @@ -2233,6 +2233,7 @@ namespace OpenTK.Graphics.ES30 /// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")] public static OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) @@ -3047,6 +3048,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")] public static void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) @@ -3275,6 +3277,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of a query object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBeginQuery")] public static void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id) @@ -3496,6 +3499,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of a buffer object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindBuffer")] public static void BindBuffer(OpenTK.Graphics.ES30.All target, Int32 buffer) @@ -3612,6 +3616,7 @@ namespace OpenTK.Graphics.ES30 /// The name of a buffer object to bind to the specified binding point. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")] public static void BindBufferBase(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer) @@ -3753,6 +3758,7 @@ namespace OpenTK.Graphics.ES30 /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")] public static void BindBufferRange(OpenTK.Graphics.ES30.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) @@ -3909,6 +3915,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of the framebuffer object to bind. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindFramebuffer")] public static void BindFramebuffer(OpenTK.Graphics.ES30.All target, Int32 framebuffer) @@ -4020,6 +4027,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of the renderbuffer object to bind. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindRenderbuffer")] public static void BindRenderbuffer(OpenTK.Graphics.ES30.All target, Int32 renderbuffer) @@ -4186,6 +4194,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of a texture. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glBindTexture")] public static void BindTexture(OpenTK.Graphics.ES30.All target, Int32 texture) @@ -4297,6 +4306,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glBindTransformFeedback")] public static void BindTransformFeedback(OpenTK.Graphics.ES30.All target, Int32 id) @@ -6811,6 +6821,7 @@ namespace OpenTK.Graphics.ES30 /// The timeout, specified in nanoseconds, for which the implementation should wait for sync to become signaled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glClientWaitSync")] public static OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) @@ -10514,6 +10525,7 @@ namespace OpenTK.Graphics.ES30 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] public static void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled) @@ -10567,6 +10579,7 @@ namespace OpenTK.Graphics.ES30 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] public static void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled) @@ -10620,6 +10633,7 @@ namespace OpenTK.Graphics.ES30 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControl")] public static @@ -11137,6 +11151,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a character array containing the message to insert. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsert")] public static void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf) @@ -14970,6 +14985,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a pointer to the location where the indices are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] public static void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, IntPtr indices) @@ -15017,6 +15033,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a pointer to the location where the indices are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] public static void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[] indices) @@ -15073,6 +15090,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a pointer to the location where the indices are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] public static void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,] indices) @@ -15129,6 +15147,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a pointer to the location where the indices are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] public static void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] T5[,,] indices) @@ -15185,6 +15204,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a pointer to the location where the indices are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glDrawRangeElements")] public static void DrawRangeElements(OpenTK.Graphics.ES30.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES30.All type, [InAttribute, OutAttribute] ref T5 indices) @@ -16363,6 +16383,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")] public static void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All renderbuffertarget, Int32 renderbuffer) @@ -16492,6 +16513,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v2.0 and ES_VERSION_2_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")] public static void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, Int32 texture, Int32 level) @@ -16582,6 +16604,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the layer of texture to attach. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] public static void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, Int32 texture, Int32 level, Int32 layer) @@ -18724,6 +18747,7 @@ namespace OpenTK.Graphics.ES30 /// Returns a null terminated string containing the name of the attribute variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) @@ -18840,6 +18864,7 @@ namespace OpenTK.Graphics.ES30 /// Returns a null terminated string containing the name of the attribute variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static @@ -19192,6 +19217,7 @@ namespace OpenTK.Graphics.ES30 /// Returns a null terminated string containing the name of the uniform variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) @@ -19308,6 +19334,7 @@ namespace OpenTK.Graphics.ES30 /// Returns a null terminated string containing the name of the uniform variable. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static @@ -19707,6 +19734,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the address of a variable to receive the result of the query. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] public static void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -19750,6 +19778,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the address of a variable to receive the result of the query. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] public static void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -19794,6 +19823,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the address of a variable to receive the result of the query. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformBlockiv")] public static @@ -20328,6 +20358,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] public static void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -20427,6 +20458,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] public static void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -20520,6 +20552,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the address of an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetActiveUniformsiv")] public static @@ -22193,6 +22226,7 @@ namespace OpenTK.Graphics.ES30 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) @@ -22260,6 +22294,7 @@ namespace OpenTK.Graphics.ES30 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) @@ -22333,6 +22368,7 @@ namespace OpenTK.Graphics.ES30 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] public static @@ -23432,6 +23468,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] public static void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int64[] data) @@ -23453,6 +23490,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] public static void GetInteger64(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int64 data) @@ -23475,6 +23513,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64i_v")] public static @@ -23839,6 +23878,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] public static void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data) @@ -23860,6 +23900,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] public static void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data) @@ -23882,6 +23923,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetIntegeri_v")] public static @@ -24556,6 +24598,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] public static void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) @@ -24604,6 +24647,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] public static void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) @@ -24653,6 +24697,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")] public static @@ -27456,6 +27501,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -27494,6 +27540,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -27533,6 +27580,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -28126,6 +28174,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -28164,6 +28213,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -28203,6 +28253,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetQueryObjectuiv")] public static @@ -28796,6 +28847,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the sampler parameters. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] public static void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) @@ -28834,6 +28886,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the sampler parameters. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] public static void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) @@ -28873,6 +28926,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the sampler parameters. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameterfv")] public static @@ -29243,6 +29297,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the sampler parameters. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] public static void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -29281,6 +29336,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the sampler parameters. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] public static void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -29320,6 +29376,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the sampler parameters. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSamplerParameteriv")] public static @@ -29855,6 +29912,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -29893,6 +29951,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -29932,6 +29991,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested object parameter. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -30776,6 +30836,7 @@ namespace OpenTK.Graphics.ES30 /// For glGetStringi, specifies the index of the string to return. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetStringi")] public static String GetString(OpenTK.Graphics.ES30.All name, Int32 index) @@ -31649,6 +31710,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a buffer into which will be written the name of the varying. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES30.All type, [OutAttribute] StringBuilder name) @@ -31775,6 +31837,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a buffer into which will be written the name of the varying. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static @@ -33015,6 +33078,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Single[] @params) @@ -33053,6 +33117,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Single @params) @@ -33092,6 +33157,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -33578,6 +33644,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -33616,6 +33683,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -33655,6 +33723,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the requested data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -34025,6 +34094,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr pointer) @@ -34057,6 +34127,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[] pointer) @@ -34098,6 +34169,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,] pointer) @@ -34139,6 +34211,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] T2[,,] pointer) @@ -34180,6 +34253,7 @@ namespace OpenTK.Graphics.ES30 /// Returns the pointer value. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES30.All pname, [InAttribute, OutAttribute] ref T2 pointer) @@ -36119,6 +36193,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string containing the label to assign to the object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")] public static void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label) @@ -37027,6 +37102,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the new value of the parameter specified by pname for program. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glProgramParameteri")] public static void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value) @@ -38003,6 +38079,7 @@ namespace OpenTK.Graphics.ES30 /// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterf")] public static void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single param) @@ -38154,6 +38231,7 @@ namespace OpenTK.Graphics.ES30 /// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] public static void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Single[] param) @@ -38197,6 +38275,7 @@ namespace OpenTK.Graphics.ES30 /// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameterfv")] public static @@ -38482,6 +38561,7 @@ namespace OpenTK.Graphics.ES30 /// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteri")] public static void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32 param) @@ -38633,6 +38713,7 @@ namespace OpenTK.Graphics.ES30 /// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] public static void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES30.All pname, Int32[] param) @@ -38676,6 +38757,7 @@ namespace OpenTK.Graphics.ES30 /// For the vector commands (glSamplerParameter*v), specifies a pointer to an array where the value or values of pname are stored. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glSamplerParameteriv")] public static @@ -38993,6 +39075,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) @@ -39041,6 +39124,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) @@ -39098,6 +39182,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) @@ -39155,6 +39240,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) @@ -39212,6 +39298,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, Int32[] shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) @@ -39547,6 +39634,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, IntPtr binary, Int32 length) @@ -39595,6 +39683,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) @@ -39652,6 +39741,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) @@ -39709,6 +39799,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) @@ -39766,6 +39857,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static void ShaderBinary(Int32 count, ref Int32 shaders, OpenTK.Graphics.ES30.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) @@ -40101,6 +40193,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -40144,6 +40237,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -40196,6 +40290,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -40248,6 +40343,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -40300,6 +40396,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the length of the array whose address is given in binary. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glShaderBinary")] public static @@ -42492,6 +42589,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFunc")] public static void StencilFunc(OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask) @@ -42628,6 +42726,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] public static void StencilFuncSeparate(OpenTK.Graphics.ES30.All face, OpenTK.Graphics.ES30.All func, Int32 @ref, Int32 mask) @@ -42814,6 +42913,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] public static void StencilMaskSeparate(OpenTK.Graphics.ES30.All face, Int32 mask) @@ -46715,6 +46815,7 @@ namespace OpenTK.Graphics.ES30 /// Identifies the mode used to capture the varying variables when transform feedback is active. bufferMode must be GL_INTERLEAVED_ATTRIBS or GL_SEPARATE_ATTRIBS. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] public static void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.All bufferMode) @@ -51515,6 +51616,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, IntPtr pointer) @@ -51530,6 +51632,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) @@ -51554,6 +51657,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) @@ -51578,6 +51682,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) @@ -51602,6 +51707,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: v3.0 and ES_VERSION_3_0] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) @@ -52010,6 +52116,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, IntPtr pointer) @@ -52057,6 +52164,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] pointer) @@ -52113,6 +52221,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] pointer) @@ -52169,6 +52278,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] pointer) @@ -52225,6 +52335,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.ES30.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 pointer) @@ -53125,6 +53236,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glWaitSync")] public static void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.All flags, Int64 timeout) @@ -53339,6 +53451,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the name of a query object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query|EXT_occlusion_query_boolean", Version = "", EntryPoint = "glBeginQueryEXT")] public static void BeginQuery(OpenTK.Graphics.ES30.All target, Int32 id) @@ -55517,6 +55630,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: EXT_multiview_draw_buffers] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] public static void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] Int32[] data) @@ -55538,6 +55652,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: EXT_multiview_draw_buffers] + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] public static void GetInteger(OpenTK.Graphics.ES30.All target, Int32 index, [OutAttribute] out Int32 data) @@ -55560,6 +55675,7 @@ namespace OpenTK.Graphics.ES30 } /// [requires: EXT_multiview_draw_buffers] + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_multiview_draw_buffers", Version = "", EntryPoint = "glGetIntegeri_vEXT")] public static @@ -56894,6 +57010,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params) @@ -56932,6 +57049,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params) @@ -56971,6 +57089,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjecti64vEXT")] public static @@ -57341,6 +57460,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32[] @params) @@ -57379,6 +57499,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int32 @params) @@ -57418,6 +57539,7 @@ namespace OpenTK.Graphics.ES30 /// If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER, then params is treated as an address in client memory of a variable to receive the resulting data. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_disjoint_timer_query", Version = "", EntryPoint = "glGetQueryObjectivEXT")] public static @@ -58383,6 +58505,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies a combination of access flags indicating the desired access to the range. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")] public static IntPtr MapBufferRange(OpenTK.Graphics.ES30.All target, IntPtr offset, IntPtr length, Int32 access) @@ -60426,6 +60549,7 @@ namespace OpenTK.Graphics.ES30 /// Specifies the new value of the parameter specified by pname for program. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] public static void ProgramParameter(Int32 program, OpenTK.Graphics.ES30.All pname, Int32 value) @@ -66901,6 +67025,7 @@ namespace OpenTK.Graphics.ES30 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] public static void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, Int32[] ids, bool enabled) @@ -66954,6 +67079,7 @@ namespace OpenTK.Graphics.ES30 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] public static void DebugMessageControl(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, OpenTK.Graphics.ES30.All severity, Int32 count, ref Int32 ids, bool enabled) @@ -67007,6 +67133,7 @@ namespace OpenTK.Graphics.ES30 /// A Boolean flag determining whether the selected messages should be enabled or disabled. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageControlKHR")] public static @@ -67524,6 +67651,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a character array containing the message to insert. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glDebugMessageInsertKHR")] public static void DebugMessageInsert(OpenTK.Graphics.ES30.All source, OpenTK.Graphics.ES30.All type, Int32 id, OpenTK.Graphics.ES30.All severity, Int32 length, String buf) @@ -67725,6 +67853,7 @@ namespace OpenTK.Graphics.ES30 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) @@ -67792,6 +67921,7 @@ namespace OpenTK.Graphics.ES30 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] public static Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) @@ -67865,6 +67995,7 @@ namespace OpenTK.Graphics.ES30 /// The address of an array of characters that will receive the messages. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] public static @@ -68509,6 +68640,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] public static void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label) @@ -68557,6 +68689,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] public static void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label) @@ -68606,6 +68739,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string that will receive the object label. /// /// + [Obsolete("Use strongly-typed overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")] public static @@ -69919,6 +70053,7 @@ namespace OpenTK.Graphics.ES30 /// The address of a string containing the label to assign to the object. /// /// + [Obsolete("Use strongly-typed overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")] public static void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label) diff --git a/Source/OpenTK/Graphics/ES30/ES30Enums.cs b/Source/OpenTK/Graphics/ES30/ES30Enums.cs index 629f4e67..b465169c 100644 --- a/Source/OpenTK/Graphics/ES30/ES30Enums.cs +++ b/Source/OpenTK/Graphics/ES30/ES30Enums.cs @@ -438,6 +438,10 @@ namespace OpenTK.Graphics.ES30 /// CurrentBit = ((int)0x00000001) , /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// /// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001 /// SyncFlushCommandsBit = ((int)0x00000001) , @@ -502,6 +506,10 @@ namespace OpenTK.Graphics.ES30 /// PointBit = ((int)0x00000002) , /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// /// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004 /// ColorBufferBit2Qcom = ((int)0x00000004) , @@ -518,6 +526,10 @@ namespace OpenTK.Graphics.ES30 /// LineBit = ((int)0x00000004) , /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004 /// UniformBarrierBit = ((int)0x00000004) , @@ -534,6 +546,10 @@ namespace OpenTK.Graphics.ES30 /// PolygonBit = ((int)0x00000008) , /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 /// TessControlShaderBit = ((int)0x00000008) , @@ -8494,6 +8510,46 @@ namespace OpenTK.Graphics.ES30 /// CompressedRgbaAstc12X12Khr = ((int)0x93BD) , /// + /// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0 + /// + CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1 + /// + CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2 + /// + CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3 + /// + CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4 + /// + CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5 + /// + CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6 + /// + CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7 + /// + CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8 + /// + CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9 + /// + CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) , + /// /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0 /// CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) , @@ -8550,6 +8606,46 @@ namespace OpenTK.Graphics.ES30 /// CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) , /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0 + /// + CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1 + /// + CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2 + /// + CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3 + /// + CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4 + /// + CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5 + /// + CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6 + /// + CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7 + /// + CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8 + /// + CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9 + /// + CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) , + /// /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF /// AllAttribBits = unchecked((int)0xFFFFFFFF) , @@ -8578,6 +8674,10 @@ namespace OpenTK.Graphics.ES30 /// InvalidIndex = unchecked((int)0xFFFFFFFF) , /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + /// /// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF /// TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) , @@ -14519,6 +14619,21 @@ namespace OpenTK.Graphics.ES30 GccsoShaderBinaryFj = ((int)0x9260) , } + /// + /// Not used directly. + /// + public enum FogCoordinatePointerType : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + /// /// Not used directly. /// @@ -14577,6 +14692,36 @@ namespace OpenTK.Graphics.ES30 FogOffsetValueSgix = ((int)0x8199) , } + /// + /// Not used directly. + /// + public enum FogPointerTypeExt : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Not used directly. + /// + public enum FogPointerTypeIbm : int + { + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + /// /// Not used directly. /// @@ -19710,10 +19855,6 @@ namespace OpenTK.Graphics.ES30 /// Zero = ((int)0) , /// - /// Original was GL_XOR = 0x1506 - /// - Xor = ((int)0x1506) , - /// /// Original was GL_XOR_NV = 0x1506 /// XorNv = ((int)0x1506) , @@ -19722,26 +19863,14 @@ namespace OpenTK.Graphics.ES30 /// Invert = ((int)0x150A) , /// - /// Original was GL_RED = 0x1903 - /// - Red = ((int)0x1903) , - /// /// Original was GL_RED_NV = 0x1903 /// RedNv = ((int)0x1903) , /// - /// Original was GL_GREEN = 0x1904 - /// - Green = ((int)0x1904) , - /// /// Original was GL_GREEN_NV = 0x1904 /// GreenNv = ((int)0x1904) , /// - /// Original was GL_BLUE = 0x1905 - /// - Blue = ((int)0x1905) , - /// /// Original was GL_BLUE_NV = 0x1905 /// BlueNv = ((int)0x1905) , @@ -20533,6 +20662,34 @@ namespace OpenTK.Graphics.ES30 TransformFeedback = ((int)0x8E22) , } + /// + /// Not used directly. + /// + [Flags] + public enum OcclusionQueryEventMaskAmd : int + { + /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + } + /// /// Not used directly. /// @@ -20967,6 +21124,46 @@ namespace OpenTK.Graphics.ES30 /// CompressedRgbaAstc12X12Khr = ((int)0x93BD) , /// + /// Original was GL_COMPRESSED_RGBA_ASTC_3x3x3_OES = 0x93C0 + /// + CompressedRgbaAstc3X3x3Oes = ((int)0x93C0) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x3x3_OES = 0x93C1 + /// + CompressedRgbaAstc4X3x3Oes = ((int)0x93C1) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x3_OES = 0x93C2 + /// + CompressedRgbaAstc4X4x3Oes = ((int)0x93C2) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_4x4x4_OES = 0x93C3 + /// + CompressedRgbaAstc4X4x4Oes = ((int)0x93C3) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x4x4_OES = 0x93C4 + /// + CompressedRgbaAstc5X4x4Oes = ((int)0x93C4) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x4_OES = 0x93C5 + /// + CompressedRgbaAstc5X5x4Oes = ((int)0x93C5) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_5x5x5_OES = 0x93C6 + /// + CompressedRgbaAstc5X5x5Oes = ((int)0x93C6) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x5x5_OES = 0x93C7 + /// + CompressedRgbaAstc6X5x5Oes = ((int)0x93C7) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x5_OES = 0x93C8 + /// + CompressedRgbaAstc6X6x5Oes = ((int)0x93C8) , + /// + /// Original was GL_COMPRESSED_RGBA_ASTC_6x6x6_OES = 0x93C9 + /// + CompressedRgbaAstc6X6x6Oes = ((int)0x93C9) , + /// /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0 /// CompressedSrgb8Alpha8Astc4X4Khr = ((int)0x93D0) , @@ -21022,6 +21219,46 @@ namespace OpenTK.Graphics.ES30 /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD /// CompressedSrgb8Alpha8Astc12X12Khr = ((int)0x93DD) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES = 0x93E0 + /// + CompressedSrgb8Alpha8Astc3X3x3Oes = ((int)0x93E0) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES = 0x93E1 + /// + CompressedSrgb8Alpha8Astc4X3x3Oes = ((int)0x93E1) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES = 0x93E2 + /// + CompressedSrgb8Alpha8Astc4X4x3Oes = ((int)0x93E2) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES = 0x93E3 + /// + CompressedSrgb8Alpha8Astc4X4x4Oes = ((int)0x93E3) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES = 0x93E4 + /// + CompressedSrgb8Alpha8Astc5X4x4Oes = ((int)0x93E4) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES = 0x93E5 + /// + CompressedSrgb8Alpha8Astc5X5x4Oes = ((int)0x93E5) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES = 0x93E6 + /// + CompressedSrgb8Alpha8Astc5X5x5Oes = ((int)0x93E6) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES = 0x93E7 + /// + CompressedSrgb8Alpha8Astc6X5x5Oes = ((int)0x93E7) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES = 0x93E8 + /// + CompressedSrgb8Alpha8Astc6X6x5Oes = ((int)0x93E8) , + /// + /// Original was GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES = 0x93E9 + /// + CompressedSrgb8Alpha8Astc6X6x6Oes = ((int)0x93E9) , } /// diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index b5ad1df3..80b27477 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -2852,6 +2852,37 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: AMD_occlusion_query_event] + [AutoGenerated(Category = "AMD_occlusion_query_event", Version = "", EntryPoint = "glQueryObjectParameteruiAMD")] + public static + void QueryObjectParameter(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, Int32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glQueryObjectParameteruiAMD((OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)target, (UInt32)id, (OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)pname, (OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd)param); + #if DEBUG + } + #endif + } + + /// [requires: AMD_occlusion_query_event] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AMD_occlusion_query_event", Version = "", EntryPoint = "glQueryObjectParameteruiAMD")] + public static + void QueryObjectParameter(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glQueryObjectParameteruiAMD((OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)target, (UInt32)id, (OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent)pname, (OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd)param); + #if DEBUG + } + #endif + } + /// [requires: AMD_performance_monitor] [AutoGenerated(Category = "AMD_performance_monitor", Version = "", EntryPoint = "glSelectPerfMonitorCountersAMD")] public static @@ -13064,6 +13095,7 @@ namespace OpenTK.Graphics.OpenGL /// Returns the requested parameter. /// /// + [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] public static void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params) @@ -13076,7 +13108,119 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [Obsolete("Use BufferTargetArb overload instead")] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [Obsolete("Use BufferTargetArb overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -13104,7 +13248,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] public static - void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params) + void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13114,7 +13258,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -13144,19 +13288,20 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferParameterivARB")] public static - unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) + unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); #if DEBUG } #endif } /// [requires: ARB_vertex_buffer_object] + [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] public static void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) @@ -13165,13 +13310,14 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); #if DEBUG } #endif } /// [requires: ARB_vertex_buffer_object] + [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] public static void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) @@ -13184,7 +13330,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -13196,6 +13342,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: ARB_vertex_buffer_object] + [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] public static void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) @@ -13208,7 +13355,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -13220,6 +13367,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: ARB_vertex_buffer_object] + [Obsolete("Use BufferTargetArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] public static void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) @@ -13232,7 +13380,33 @@ namespace OpenTK.Graphics.OpenGL GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [Obsolete("Use BufferTargetArb overload instead")] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; } finally { @@ -13246,7 +13420,22 @@ namespace OpenTK.Graphics.OpenGL /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] public static - void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params) where T2 : struct { #if DEBUG @@ -13256,7 +13445,79 @@ namespace OpenTK.Graphics.OpenGL GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @params = (T2)@params_ptr.Target; } finally @@ -20202,6 +20463,7 @@ namespace OpenTK.Graphics.OpenGL /// For glMapBuffer only, specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. /// /// + [Obsolete("Use BufferAccessArb overload instead")] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glMapBufferARB")] public static IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access) @@ -20210,7 +20472,34 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexBufferObject)access); + return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferAccessArb)access); + #if DEBUG + } + #endif + } + + /// [requires: ARB_vertex_buffer_object] + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER. + /// + /// + /// + /// + /// For glMapBuffer only, specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. + /// + /// + [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glMapBufferARB")] + public static + IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.BufferAccessArb)access); #if DEBUG } #endif @@ -73643,6 +73932,28 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: v3.2 and ARB_sync|VERSION_3_2] + [Obsolete("Use GetPName overload instead")] + [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] + public static + Int64 GetInteger64(OpenTK.Graphics.OpenGL.ArbSync pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + Int64 retval; + Int64* data_ptr = &retval; + Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data_ptr); + return retval; + } + #if DEBUG + } + #endif + } + /// [requires: v3.2 and ARB_sync|VERSION_3_2] [AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetInteger64v")] public static @@ -142171,13 +142482,46 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateEXT")] public static + void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeAlpha); + #if DEBUG + } + #endif + } + + /// [requires: EXT_blend_equation_separate] + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// for glBlendEquationSeparatei, specifies the index of the draw buffer for which to set the blend equations. + /// + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [Obsolete("Use BlendEquationModeExt overload instead")] + [AutoGenerated(Category = "EXT_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateEXT")] + public static void BlendEquationSeparate(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeAlpha); + Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeAlpha); #if DEBUG } #endif @@ -145735,13 +146079,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] public static - void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -145782,6 +146126,280 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T5)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] + public static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] image) where T5 : struct { @@ -145792,7 +146410,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -145836,6 +146454,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] image) @@ -145848,7 +146467,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -145892,6 +146511,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] image) @@ -145904,7 +146524,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -145948,6 +146568,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 image) @@ -145960,7 +146581,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); image = (T5)image_ptr.Target; } finally @@ -146012,13 +146633,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] public static - void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -146064,6 +146685,305 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T6)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] + public static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] image) where T6 : struct { @@ -146074,7 +146994,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -146123,6 +147043,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] image) @@ -146135,7 +147056,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -146184,6 +147105,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] image) @@ -146196,7 +147118,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -146245,6 +147167,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 image) @@ -146257,7 +147180,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); image = (T6)image_ptr.Target; } finally @@ -146292,13 +147215,49 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfEXT")] public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfEXT")] + public static void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single)@params); + Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single)@params); #if DEBUG } #endif @@ -146327,7 +147286,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single[] @params) + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -146337,7 +147296,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params_ptr); + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); } } #if DEBUG @@ -146369,13 +147328,92 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] public static + unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterfvEXT")] + public static unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); #if DEBUG } #endif @@ -146404,13 +147442,49 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameteriEXT")] public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameteriEXT")] + public static void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32)@params); + Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32)@params); #if DEBUG } #endif @@ -146439,7 +147513,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] public static - void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32[] @params) + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -146449,7 +147523,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params_ptr); + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -146481,13 +147555,92 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] public static + unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glConvolutionParameterivEXT")] + public static unsafe void ConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -146555,13 +147708,51 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter1DEXT")] public static + void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Copy pixels into a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter1DEXT")] + public static void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -146597,13 +147788,56 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter2DEXT")] public static + void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Copy pixels into a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + /// + /// + /// The height of the pixel array to copy. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glCopyConvolutionFilter2DEXT")] + public static void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -150800,6 +152034,7 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] public static void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer) @@ -150808,7 +152043,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -150832,6 +152067,7 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] public static void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) @@ -150844,7 +152080,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -150873,6 +152109,7 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] public static void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) @@ -150885,7 +152122,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -150914,6 +152151,7 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [Obsolete("Use FogPointerTypeExt overload instead")] [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] public static void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) @@ -150926,7 +152164,50 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [Obsolete("Use FogPointerTypeExt overload instead")] + [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; } finally { @@ -150957,7 +152238,39 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer) where T2 : struct { #if DEBUG @@ -150967,7 +152280,130 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_fog_coord] + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "EXT_fog_coord", Version = "", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.FogPointerTypeExt)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T2)pointer_ptr.Target; } finally @@ -153622,13 +155058,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] public static - void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -153659,6 +155095,230 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + image = (T3)image_ptr.Target; + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] + public static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] image) where T3 : struct { @@ -153669,7 +155329,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -153703,6 +155363,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the output image. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] public static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] image) @@ -153715,7 +155376,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -153749,6 +155410,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the output image. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] public static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] image) @@ -153761,7 +155423,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -153795,6 +155457,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the output image. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionFilterEXT")] public static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 image) @@ -153807,7 +155470,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); image = (T3)image_ptr.Target; } finally @@ -153839,7 +155502,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] public static - void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single[] @params) + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -153849,7 +155512,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params_ptr); + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); } } #if DEBUG @@ -153877,6 +155540,118 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Single @params) { #if DEBUG @@ -153887,7 +155662,118 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = &@params) { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params_ptr); + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [Obsolete("Use ConvolutionTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_convolution] + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -153915,15 +155801,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterfvEXT")] + [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -153947,6 +155833,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the parameters to be retrieved. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32[] @params) @@ -153959,7 +155846,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -153985,6 +155872,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the parameters to be retrieved. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] out Int32 @params) @@ -153997,7 +155885,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -154024,6 +155912,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the parameters to be retrieved. /// /// + [Obsolete("Use ConvolutionTargetExt overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetConvolutionParameterivEXT")] public static @@ -154033,7 +155922,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -154949,6 +156838,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned histogram table. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) @@ -154957,7 +156847,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); #if DEBUG } #endif @@ -154991,6 +156881,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned histogram table. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) @@ -155003,7 +156894,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -155042,6 +156933,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned histogram table. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) @@ -155054,7 +156946,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -155093,6 +156985,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned histogram table. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) @@ -155105,7 +156998,60 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [Obsolete("Use HistogramTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T4)values_ptr.Target; } finally { @@ -155146,7 +157092,49 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct { #if DEBUG @@ -155156,7 +157144,160 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); values = (T4)values_ptr.Target; } finally @@ -155186,6 +157327,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the returned values. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] public static void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params) @@ -155198,7 +157340,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); } } #if DEBUG @@ -155224,6 +157366,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to storage for the returned values. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] public static void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params) @@ -155236,7 +157379,118 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = &@params) { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [Obsolete("Use HistogramTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -155266,13 +157520,126 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterfvEXT")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [Obsolete("Use HistogramTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [Obsolete("Use HistogramTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [Obsolete("Use HistogramTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -155298,7 +157665,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -155308,7 +157675,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -155336,7 +157703,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) + void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -155346,7 +157713,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -155376,13 +157743,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetHistogramParameterivEXT")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + unsafe void GetHistogramParameter(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -156382,6 +158749,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned values. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) @@ -156390,7 +158758,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); #if DEBUG } #endif @@ -156424,6 +158792,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned values. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) @@ -156436,7 +158805,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -156475,6 +158844,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned values. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) @@ -156487,7 +158857,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -156526,6 +158896,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the returned values. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) @@ -156538,7 +158909,60 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [Obsolete("Use MinmaxTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + values = (T4)values_ptr.Target; } finally { @@ -156579,7 +159003,49 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[] values) where T4 : struct { #if DEBUG @@ -156589,7 +159055,160 @@ namespace OpenTK.Graphics.OpenGL GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); values = (T4)values_ptr.Target; } finally @@ -156619,6 +159238,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the retrieved parameters. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single[] @params) @@ -156631,7 +159251,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); } } #if DEBUG @@ -156657,6 +159277,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to storage for the retrieved parameters. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Single @params) @@ -156669,7 +159290,118 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [Obsolete("Use MinmaxTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -156699,13 +159431,126 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterfvEXT")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [Obsolete("Use MinmaxTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [Obsolete("Use MinmaxTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [Obsolete("Use MinmaxTargetExt overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -156731,7 +159576,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32[] @params) + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -156741,7 +159586,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -156769,7 +159614,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] out Int32 @params) + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -156779,7 +159624,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params_ptr); + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -156809,13 +159654,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glGetMinmaxParameterivEXT")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + unsafe void GetMinmaxParameter(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt)pname, (Int32*)@params); #if DEBUG } #endif @@ -161253,13 +164098,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); #if DEBUG } #endif @@ -161300,7 +164145,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) where T3 : struct where T4 : struct where T5 : struct @@ -161314,7 +164159,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -161362,7 +164207,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) where T3 : struct where T4 : struct where T5 : struct @@ -161376,7 +164221,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -161424,7 +164269,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct @@ -161438,7 +164283,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -161486,7 +164331,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) + void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) where T3 : struct where T4 : struct where T5 : struct @@ -161500,7 +164345,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); row = (T3)row_ptr.Target; column = (T4)column_ptr.Target; span = (T5)span_ptr.Target; @@ -164822,6 +167667,7 @@ namespace OpenTK.Graphics.OpenGL /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glHistogramEXT")] public static void Histogram(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) @@ -164830,7 +167676,44 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Define histogram table + /// + /// + /// + /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The number of entries in the histogram table. Must be a power of 2. + /// + /// + /// + /// + /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glHistogramEXT")] + public static + void Histogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); #if DEBUG } #endif @@ -166215,6 +169098,7 @@ namespace OpenTK.Graphics.OpenGL /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. /// /// + [Obsolete("Use MinmaxTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glMinmaxEXT")] public static void Minmax(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) @@ -166223,7 +169107,39 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Define minmax table + /// + /// + /// + /// The minmax table whose parameters are to be set. Must be GL_MINMAX. + /// + /// + /// + /// + /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glMinmaxEXT")] + public static + void Minmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); #if DEBUG } #endif @@ -181052,6 +183968,7 @@ namespace OpenTK.Graphics.OpenGL /// Must be GL_HISTOGRAM. /// /// + [Obsolete("Use HistogramTargetExt overload instead")] [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetHistogramEXT")] public static void ResetHistogram(OpenTK.Graphics.OpenGL.ExtHistogram target) @@ -181060,7 +183977,52 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); + Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Reset histogram table entries to zero + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetHistogramEXT")] + public static + void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTargetExt target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target); + #if DEBUG + } + #endif + } + + /// [requires: EXT_histogram] + /// Reset minmax table entries to initial values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + [Obsolete("Use MinmaxTargetExt overload instead")] + [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetMinmaxEXT")] + public static + void ResetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target); #if DEBUG } #endif @@ -181076,13 +184038,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_histogram", Version = "", EntryPoint = "glResetMinmaxEXT")] public static - void ResetMinmax(OpenTK.Graphics.OpenGL.ExtHistogram target) + void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTargetExt target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); + Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.MinmaxTargetExt)target); #if DEBUG } #endif @@ -182202,13 +185164,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); #if DEBUG } #endif @@ -182259,7 +185221,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) where T6 : struct where T7 : struct { @@ -182271,7 +185233,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -182328,7 +185290,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) where T6 : struct where T7 : struct { @@ -182340,7 +185302,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -182397,7 +185359,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) where T6 : struct where T7 : struct { @@ -182409,7 +185371,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -182466,7 +185428,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "EXT_convolution", Version = "", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) where T6 : struct where T7 : struct { @@ -182478,7 +185440,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); row = (T6)row_ptr.Target; column = (T7)column_ptr.Target; } @@ -201293,13 +204255,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] public static - void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, Int32 id) + void BindTransformFeedback(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id); + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); #if DEBUG } #endif @@ -201321,13 +204283,70 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] public static + void BindTransformFeedback(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + /// Bind a transform feedback object + /// + /// + /// + /// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. + /// + /// + [Obsolete("Use BufferTargetArb overload instead")] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + public static + void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + /// Bind a transform feedback object + /// + /// + /// + /// Specifies the target to which to bind the transform feedback object id. target must be GL_TRANSFORM_FEEDBACK. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object reserved by glGenTransformFeedbacks. + /// + /// + [Obsolete("Use BufferTargetArb overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + public static void BindTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id); + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)id); #if DEBUG } #endif @@ -248278,7 +251297,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] public static - void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single[] @params) + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -248288,7 +251307,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); } } #if DEBUG @@ -248316,6 +251335,117 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] + public static void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Single @params) { #if DEBUG @@ -248326,7 +251456,117 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = &@params) { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -248353,15 +251593,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterfvSGI")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params); #if DEBUG } #endif @@ -248385,6 +251625,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameters are stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] public static void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32[] @params) @@ -248397,7 +251638,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -248423,6 +251664,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameters are stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] public static void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, ref Int32 @params) @@ -248435,7 +251677,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -248461,6 +251703,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameters are stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] public static @@ -248470,7 +251713,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params); #if DEBUG } #endif @@ -248511,13 +251754,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] public static - void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); #if DEBUG } #endif @@ -248558,6 +251801,280 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T5)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] + public static void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[] table) where T5 : struct { @@ -248568,7 +252085,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -248612,6 +252129,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,] table) @@ -248624,7 +252142,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -248668,6 +252186,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T5[,,] table) @@ -248680,7 +252199,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -248724,6 +252243,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T5 table) @@ -248736,7 +252256,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); table = (T5)table_ptr.Target; } finally @@ -248778,13 +252298,56 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glCopyColorTableSGI")] public static + void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Copy pixels into a color table + /// + /// + /// + /// The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal storage format of the texture image. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The x coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The y coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The width of the pixel rectangle. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glCopyColorTableSGI")] + public static void CopyColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -248810,6 +252373,117 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] + public static void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single[] @params) { #if DEBUG @@ -248820,7 +252494,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); } } #if DEBUG @@ -248846,6 +252520,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameter will be stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] public static void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Single @params) @@ -248858,7 +252533,118 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = &@params) { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -248886,15 +252672,15 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterfvSGI")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params); #if DEBUG } #endif @@ -248918,6 +252704,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameter will be stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] public static void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32[] @params) @@ -248930,7 +252717,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -248956,6 +252743,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameter will be stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] public static void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] out Int32 @params) @@ -248968,7 +252756,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -248995,6 +252783,7 @@ namespace OpenTK.Graphics.OpenGL /// A pointer to an array where the values of the parameter will be stored. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableParameterivSGI")] public static @@ -249004,7 +252793,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params); #if DEBUG } #endif @@ -249035,13 +252824,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] public static - void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); #if DEBUG } #endif @@ -249072,6 +252861,230 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + table = (T3)table_ptr.Target; + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + /// [requires: SGI_color_table] + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] + public static void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] table) where T3 : struct { @@ -249082,7 +253095,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -249116,6 +253129,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] table) @@ -249128,7 +253142,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -249162,6 +253176,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] table) @@ -249174,7 +253189,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -249208,6 +253223,7 @@ namespace OpenTK.Graphics.OpenGL /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [Obsolete("Use ColorTableTargetSgi overload instead")] [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 table) @@ -249220,7 +253236,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); table = (T3)table_ptr.Target; } finally @@ -249515,6 +253531,28 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] public static + Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + Single retval; + Single* @params_ptr = &retval; + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); + return retval; + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static Single GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname) { #if DEBUG @@ -249525,7 +253563,7 @@ namespace OpenTK.Graphics.OpenGL { Single retval; Single* @params_ptr = &retval; - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); return retval; } #if DEBUG @@ -249536,6 +253574,66 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single[] @params) { #if DEBUG @@ -249546,7 +253644,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); } } #if DEBUG @@ -249555,6 +253653,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] public static void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Single @params) @@ -249567,7 +253666,67 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = &@params) { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -249578,21 +253737,22 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIS_pixel_texture] [System.CLSCompliant(false)] - [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); #if DEBUG } #endif } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32[] @params) @@ -249605,7 +253765,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params_ptr); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -249614,6 +253774,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] out Int32 @params) @@ -249626,7 +253787,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params_ptr); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -249636,6 +253797,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static @@ -249645,7 +253807,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); #if DEBUG } #endif @@ -249793,19 +253955,73 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single)param); + Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single)param); #if DEBUG } #endif } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] public static void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single[] @params) @@ -249818,7 +254034,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params_ptr); + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params_ptr); } } #if DEBUG @@ -249827,6 +254043,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] public static @@ -249836,7 +254053,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Single*)@params); #if DEBUG } #endif @@ -249845,19 +254062,73 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIS_pixel_texture] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameteriSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32)param); + Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32)param); #if DEBUG } #endif } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameteriSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] public static void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32[] @params) @@ -249870,7 +254141,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params_ptr); + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -249879,6 +254150,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] public static @@ -249888,7 +254160,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); #if DEBUG } #endif @@ -250015,13 +254287,29 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIS_multisample] [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSamplePatternSGIS")] public static + void SamplePattern(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SamplePatternSgis)pattern); + #if DEBUG + } + #endif + } + + /// [requires: SGIS_multisample] + [Obsolete("Use SamplePatternSgis overload instead")] + [AutoGenerated(Category = "SGIS_multisample", Version = "", EntryPoint = "glSamplePatternSGIS")] + public static void SamplePattern(OpenTK.Graphics.OpenGL.SgisMultisample pattern) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SgisMultisample)pattern); + Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SamplePatternSgis)pattern); #if DEBUG } #endif @@ -250420,6 +254708,65 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] public static + void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] + public static + unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdTargetSgix overload instead")] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] + public static void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) { #if DEBUG @@ -250430,7 +254777,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Double* points_ptr = points) { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); } } #if DEBUG @@ -250439,6 +254786,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdTargetSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] public static void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) @@ -250451,7 +254799,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Double* points_ptr = &points) { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); } } #if DEBUG @@ -250460,6 +254808,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdTargetSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] public static @@ -250469,7 +254818,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); #if DEBUG } #endif @@ -250478,6 +254827,65 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] public static + void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] + public static + unsafe void DeformationMap3(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdTargetSgix overload instead")] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] + public static void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) { #if DEBUG @@ -250488,7 +254896,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* points_ptr = points) { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); } } #if DEBUG @@ -250497,6 +254905,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdTargetSgix overload instead")] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] public static void DeformationMap3(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) @@ -250509,7 +254918,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* points_ptr = &points) { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); } } #if DEBUG @@ -250518,6 +254927,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdTargetSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] public static @@ -250527,7 +254937,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.FfdTargetSgix)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); #if DEBUG } #endif @@ -250536,19 +254946,36 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] public static - void Deform(Int32 mask) + void Deform(OpenTK.Graphics.OpenGL.FfdMaskSgix mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformSGIX((UInt32)mask); + Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); #if DEBUG } #endif } /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdMaskSgix overload instead")] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] + public static + void Deform(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdMaskSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] public static @@ -250558,7 +254985,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformSGIX((UInt32)mask); + Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); #if DEBUG } #endif @@ -250811,19 +255238,73 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfSGIX")] public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) + void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); + Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single)param); #if DEBUG } #endif } /// [requires: SGIX_fragment_lighting] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] public static void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single[] @params) @@ -250836,7 +255317,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Single* @params_ptr = @params) { - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params_ptr); + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params_ptr); } } #if DEBUG @@ -250845,6 +255326,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIX_fragment_lighting] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] public static @@ -250854,7 +255336,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Single*)@params); #if DEBUG } #endif @@ -250863,19 +255345,73 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModeliSGIX")] public static - void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32)param); #if DEBUG } #endif } /// [requires: SGIX_fragment_lighting] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModeliSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] + public static + void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] public static void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32[] @params) @@ -250888,7 +255424,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params_ptr); + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -250897,6 +255433,7 @@ namespace OpenTK.Graphics.OpenGL } /// [requires: SGIX_fragment_lighting] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] public static @@ -250906,7 +255443,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix)pname, (Int32*)@params); #if DEBUG } #endif @@ -251859,13 +256396,29 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_fragment_lighting] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glLightEnviSGIX")] public static + void LightEnv(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.LightEnvParameterSgix)pname, (Int32)param); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_fragment_lighting] + [Obsolete("Use LightEnvParameterSgix overload instead")] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glLightEnviSGIX")] + public static void LightEnv(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.LightEnvParameterSgix)pname, (Int32)param); #if DEBUG } #endif @@ -252086,19 +256639,36 @@ namespace OpenTK.Graphics.OpenGL /// [requires: SGIX_polynomial_ffd] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] public static - void LoadIdentityDeformationMap(Int32 mask) + void LoadIdentityDeformationMap(OpenTK.Graphics.OpenGL.FfdMaskSgix mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); #if DEBUG } #endif } /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdMaskSgix overload instead")] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + public static + void LoadIdentityDeformationMap(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_polynomial_ffd] + [Obsolete("Use FfdMaskSgix overload instead")] [System.CLSCompliant(false)] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glLoadIdentityDeformationMapSGIX")] public static @@ -252108,7 +256678,7 @@ namespace OpenTK.Graphics.OpenGL using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); #if DEBUG } #endif diff --git a/Source/OpenTK/Graphics/OpenGL/GLCore.cs b/Source/OpenTK/Graphics/OpenGL/GLCore.cs index 8766c1e3..0dc8ff0f 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLCore.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLCore.cs @@ -281,7 +281,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedbackNV", ExactSpelling = true)] - internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); + internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] internal extern static void BindVertexArray(UInt32 array); @@ -374,7 +374,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateEXT", ExactSpelling = true)] - internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); + internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparatei", ExactSpelling = true)] internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); @@ -770,16 +770,16 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfvSGI", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); + internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterivSGI", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); + internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableSGI", ExactSpelling = true)] - internal extern static void ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + internal extern static void ColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerInputNV", ExactSpelling = true)] internal extern static void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); @@ -887,37 +887,37 @@ namespace OpenTK.Graphics.OpenGL internal extern static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1DEXT", ExactSpelling = true)] - internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] internal extern static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2DEXT", ExactSpelling = true)] - internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] internal extern static void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfEXT", ExactSpelling = true)] - internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); + internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); + internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] internal extern static void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriEXT", ExactSpelling = true)] - internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); + internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); + internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxOES", ExactSpelling = true)] internal extern static void ConvolutionParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); @@ -938,19 +938,19 @@ namespace OpenTK.Graphics.OpenGL internal extern static void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTableSGI", ExactSpelling = true)] - internal extern static void CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1DEXT", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.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.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2DEXT", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyImageSubData", ExactSpelling = true)] internal extern static void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); @@ -1109,13 +1109,13 @@ namespace OpenTK.Graphics.OpenGL internal extern static void DebugMessageInsertKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3dSGIX", ExactSpelling = true)] - internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3fSGIX", ExactSpelling = true)] - internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformSGIX", ExactSpelling = true)] - internal extern static void DeformSGIX(UInt32 mask); + internal extern static void DeformSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteAsyncMarkersSGIX", ExactSpelling = true)] internal extern static void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); @@ -1670,7 +1670,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerEXT", ExactSpelling = true)] - internal extern static void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); + internal extern static void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerListIBM", ExactSpelling = true)] internal extern static void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); @@ -1712,16 +1712,16 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfSGIX", ExactSpelling = true)] - internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); + internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); + internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModeliSGIX", ExactSpelling = true)] - internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); + internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfSGIX", ExactSpelling = true)] internal extern static void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); @@ -1991,7 +1991,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterivARB", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterui64vNV", ExactSpelling = true)] internal extern static unsafe void GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); @@ -2000,7 +2000,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervARB", ExactSpelling = true)] - internal extern static void GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); + internal extern static void GetBufferPointervARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)] internal extern static void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); @@ -2030,7 +2030,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvSGI", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params); + internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); @@ -2039,10 +2039,10 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivSGI", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableSGI", ExactSpelling = true)] - internal extern static void GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); + internal extern static void GetColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterfvNV", ExactSpelling = true)] internal extern static unsafe void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); @@ -2075,19 +2075,19 @@ namespace OpenTK.Graphics.OpenGL internal extern static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilterEXT", ExactSpelling = true)] - internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); + internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params); + internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterxvOES", ExactSpelling = true)] internal extern static unsafe void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); @@ -2192,19 +2192,19 @@ namespace OpenTK.Graphics.OpenGL internal extern static void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramEXT", ExactSpelling = true)] - internal extern static void GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal extern static void GetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)] internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)] internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterxvOES", ExactSpelling = true)] internal extern static unsafe void GetHistogramParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); @@ -2333,19 +2333,19 @@ namespace OpenTK.Graphics.OpenGL internal extern static void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxEXT", ExactSpelling = true)] - internal extern static void GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal extern static void GetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)] internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)] internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); @@ -2594,10 +2594,10 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetPixelMapxv(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params); + internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterivSGIS", ExactSpelling = true)] - internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTransformParameterfvEXT", ExactSpelling = true)] internal extern static unsafe void GetPixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params); @@ -2771,7 +2771,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilterEXT", ExactSpelling = true)] - internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); @@ -3125,7 +3125,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogramEXT", ExactSpelling = true)] - internal extern static void HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal extern static void HistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIglooInterfaceSGIX", ExactSpelling = true)] internal extern static void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params); @@ -3374,7 +3374,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void LabelObjectEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightEnviSGIX", ExactSpelling = true)] - internal extern static void LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal extern static void LightEnviSGIX(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] internal extern static void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); @@ -3446,7 +3446,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void LoadIdentity(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentityDeformationMapSGIX", ExactSpelling = true)] - internal extern static void LoadIdentityDeformationMapSGIX(UInt32 mask); + internal extern static void LoadIdentityDeformationMapSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixd", ExactSpelling = true)] internal extern static unsafe void LoadMatrixd(Double* m); @@ -3542,7 +3542,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferARB", ExactSpelling = true)] - internal extern static IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); + internal extern static IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] internal extern static IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); @@ -3698,7 +3698,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmaxEXT", ExactSpelling = true)] - internal extern static void MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal extern static void MinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShading", ExactSpelling = true)] internal extern static void MinSampleShading(Single value); @@ -4460,16 +4460,16 @@ namespace OpenTK.Graphics.OpenGL internal extern static void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfSGIS", ExactSpelling = true)] - internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); + internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); + internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameteriSGIS", ExactSpelling = true)] - internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); + internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterivSGIS", ExactSpelling = true)] - internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); + internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenSGIX", ExactSpelling = true)] internal extern static void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); @@ -5152,6 +5152,9 @@ namespace OpenTK.Graphics.OpenGL [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryMatrixxOES", ExactSpelling = true)] internal extern static unsafe Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryObjectParameteruiAMD", ExactSpelling = true)] + internal extern static void QueryObjectParameteruiAMD(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2d", ExactSpelling = true)] internal extern static void RasterPos2d(Double x, Double y); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -5384,13 +5387,13 @@ namespace OpenTK.Graphics.OpenGL internal extern static void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogramEXT", ExactSpelling = true)] - internal extern static void ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + internal extern static void ResetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)] internal extern static void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmaxEXT", ExactSpelling = true)] - internal extern static void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + internal extern static void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResizeBuffersMESA", CharSet = CharSet.Auto)] internal extern static void ResizeBuffersMESA(); @@ -5441,7 +5444,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternSGIS", ExactSpelling = true)] - internal extern static void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern); + internal extern static void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterf", ExactSpelling = true)] internal extern static void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param); @@ -5612,7 +5615,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2DEXT", ExactSpelling = true)] - internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); + internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceAPPLE", ExactSpelling = true)] internal extern static void SetFenceAPPLE(UInt32 fence); diff --git a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs index 9025ab82..18ea3496 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs @@ -279,7 +279,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id); internal static BindTransformFeedback glBindTransformFeedback; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); + internal delegate void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 id); internal static BindTransformFeedbackNV glBindTransformFeedbackNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BindVertexArray(UInt32 array); @@ -372,7 +372,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); internal static BlendEquationSeparate glBlendEquationSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); + internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.BlendEquationModeExt modeRGB, OpenTK.Graphics.OpenGL.BlendEquationModeExt modeAlpha); internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); @@ -768,16 +768,16 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); internal unsafe static ColorTableParameterfv glColorTableParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); + internal unsafe delegate void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Single* @params); internal unsafe static ColorTableParameterfvSGI glColorTableParameterfvSGI; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); internal unsafe static ColorTableParameteriv glColorTableParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); + internal unsafe delegate void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi pname, Int32* @params); internal unsafe static ColorTableParameterivSGI glColorTableParameterivSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); + internal delegate void ColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); internal static ColorTableSGI glColorTableSGI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); @@ -885,37 +885,37 @@ namespace OpenTK.Graphics.OpenGL internal delegate void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter1D glConvolutionFilter1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter1DEXT glConvolutionFilter1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter2D glConvolutionFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter2DEXT glConvolutionFilter2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); internal static ConvolutionParameterf glConvolutionParameterf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); + internal delegate void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single @params); internal static ConvolutionParameterfEXT glConvolutionParameterfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); internal unsafe static ConvolutionParameterfv glConvolutionParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); + internal unsafe delegate void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Single* @params); internal unsafe static ConvolutionParameterfvEXT glConvolutionParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); internal static ConvolutionParameteri glConvolutionParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); + internal delegate void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32 @params); internal static ConvolutionParameteriEXT glConvolutionParameteriEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); internal unsafe static ConvolutionParameteriv glConvolutionParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); + internal unsafe delegate void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, Int32* @params); internal unsafe static ConvolutionParameterivEXT glConvolutionParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ConvolutionParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); @@ -936,19 +936,19 @@ namespace OpenTK.Graphics.OpenGL internal delegate void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyColorTable glCopyColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyColorTableSGI glCopyColorTableSGI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyConvolutionFilter1DEXT glCopyConvolutionFilter1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyConvolutionFilter2DEXT glCopyConvolutionFilter2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth); @@ -1107,13 +1107,13 @@ namespace OpenTK.Graphics.OpenGL internal delegate void DebugMessageInsertKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf); internal static DebugMessageInsertKHR glDebugMessageInsertKHR; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + internal unsafe delegate void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); internal unsafe static DeformationMap3dSGIX glDeformationMap3dSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + internal unsafe delegate void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.FfdTargetSgix target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); internal unsafe static DeformationMap3fSGIX glDeformationMap3fSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeformSGIX(UInt32 mask); + internal delegate void DeformSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); internal static DeformSGIX glDeformSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); @@ -1668,7 +1668,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); internal static FogCoordPointer glFogCoordPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); + internal delegate void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.FogPointerTypeExt type, Int32 stride, IntPtr pointer); internal static FogCoordPointerEXT glFogCoordPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); @@ -1710,16 +1710,16 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); internal unsafe static FragmentLightivSGIX glFragmentLightivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); + internal delegate void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single param); internal static FragmentLightModelfSGIX glFragmentLightModelfSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); + internal unsafe delegate void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Single* @params); internal unsafe static FragmentLightModelfvSGIX glFragmentLightModelfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal delegate void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32 param); internal static FragmentLightModeliSGIX glFragmentLightModeliSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); + internal unsafe delegate void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.FragmentLightModelParameterSgix pname, Int32* @params); internal unsafe static FragmentLightModelivSGIX glFragmentLightModelivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); @@ -1989,7 +1989,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params); internal unsafe static GetBufferParameteriv glGetBufferParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params); internal unsafe static GetBufferParameterivARB glGetBufferParameterivARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params); @@ -1998,7 +1998,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params); internal static GetBufferPointerv glGetBufferPointerv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); + internal delegate void GetBufferPointervARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params); internal static GetBufferPointervARB glGetBufferPointervARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data); @@ -2028,7 +2028,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params); internal unsafe static GetColorTableParameterfvEXT glGetColorTableParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params); + internal unsafe delegate void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Single* @params); internal unsafe static GetColorTableParameterfvSGI glGetColorTableParameterfvSGI; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); @@ -2037,10 +2037,10 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params); internal unsafe static GetColorTableParameterivEXT glGetColorTableParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi pname, [OutAttribute] Int32* @params); internal unsafe static GetColorTableParameterivSGI glGetColorTableParameterivSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); + internal delegate void GetColorTableSGI(OpenTK.Graphics.OpenGL.ColorTableTargetSgi target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table); internal static GetColorTableSGI glGetColorTableSGI; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params); @@ -2073,19 +2073,19 @@ namespace OpenTK.Graphics.OpenGL internal delegate void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); internal static GetConvolutionFilter glGetConvolutionFilter; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); + internal delegate void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image); internal static GetConvolutionFilterEXT glGetConvolutionFilterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params); internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params); + internal unsafe delegate void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Single* @params); internal unsafe static GetConvolutionParameterfvEXT glGetConvolutionParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params); internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ConvolutionTargetExt target, OpenTK.Graphics.OpenGL.ConvolutionParameterExt pname, [OutAttribute] Int32* @params); internal unsafe static GetConvolutionParameterivEXT glGetConvolutionParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); @@ -2190,19 +2190,19 @@ namespace OpenTK.Graphics.OpenGL internal delegate void GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); internal static GetHistogram glGetHistogram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal delegate void GetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); internal static GetHistogramEXT glGetHistogramEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params); internal unsafe static GetHistogramParameterfv glGetHistogramParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + internal unsafe delegate void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Single* @params); internal unsafe static GetHistogramParameterfvEXT glGetHistogramParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params); internal unsafe static GetHistogramParameteriv glGetHistogramParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, OpenTK.Graphics.OpenGL.GetHistogramParameterPNameExt pname, [OutAttribute] Int32* @params); internal unsafe static GetHistogramParameterivEXT glGetHistogramParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetHistogramParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params); @@ -2331,19 +2331,19 @@ namespace OpenTK.Graphics.OpenGL internal delegate void GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); internal static GetMinmax glGetMinmax; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); + internal delegate void GetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values); internal static GetMinmaxEXT glGetMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params); internal unsafe static GetMinmaxParameterfv glGetMinmaxParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params); + internal unsafe delegate void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Single* @params); internal unsafe static GetMinmaxParameterfvEXT glGetMinmaxParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params); internal unsafe static GetMinmaxParameteriv glGetMinmaxParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPNameExt pname, [OutAttribute] Int32* @params); internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val); @@ -2592,10 +2592,10 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetPixelMapxv(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values); internal unsafe static GetPixelMapxv glGetPixelMapxv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params); + internal unsafe delegate void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Single* @params); internal unsafe static GetPixelTexGenParameterfvSGIS glGetPixelTexGenParameterfvSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, [OutAttribute] Int32* @params); internal unsafe static GetPixelTexGenParameterivSGIS glGetPixelTexGenParameterivSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetPixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params); @@ -2769,7 +2769,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); internal static GetSeparableFilter glGetSeparableFilter; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); + internal delegate void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span); internal static GetSeparableFilterEXT glGetSeparableFilterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); @@ -3123,7 +3123,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static Histogram glHistogram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal delegate void HistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static HistogramEXT glHistogramEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params); @@ -3372,7 +3372,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void LabelObjectEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label); internal static LabelObjectEXT glLabelObjectEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); + internal delegate void LightEnviSGIX(OpenTK.Graphics.OpenGL.LightEnvParameterSgix pname, Int32 param); internal static LightEnviSGIX glLightEnviSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); @@ -3444,7 +3444,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void LoadIdentity(); internal static LoadIdentity glLoadIdentity; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LoadIdentityDeformationMapSGIX(UInt32 mask); + internal delegate void LoadIdentityDeformationMapSGIX(OpenTK.Graphics.OpenGL.FfdMaskSgix mask); internal static LoadIdentityDeformationMapSGIX glLoadIdentityDeformationMapSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void LoadMatrixd(Double* m); @@ -3540,7 +3540,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); internal static MapBuffer glMapBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); + internal delegate IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.BufferAccessArb access); internal static MapBufferARB glMapBufferARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); @@ -3696,7 +3696,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static Minmax glMinmax; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); + internal delegate void MinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static MinmaxEXT glMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void MinSampleShading(Single value); @@ -4458,16 +4458,16 @@ namespace OpenTK.Graphics.OpenGL internal delegate void PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param); internal static PixelStorex glPixelStorex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); + internal delegate void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single param); internal static PixelTexGenParameterfSGIS glPixelTexGenParameterfSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); + internal unsafe delegate void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Single* @params); internal unsafe static PixelTexGenParameterfvSGIS glPixelTexGenParameterfvSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); + internal delegate void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32 param); internal static PixelTexGenParameteriSGIS glPixelTexGenParameteriSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); + internal unsafe delegate void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis pname, Int32* @params); internal unsafe static PixelTexGenParameterivSGIS glPixelTexGenParameterivSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); @@ -5151,6 +5151,9 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent); internal unsafe static QueryMatrixxOES glQueryMatrixxOES; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void QueryObjectParameteruiAMD(OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent target, UInt32 id, OpenTK.Graphics.OpenGL.AmdOcclusionQueryEvent pname, OpenTK.Graphics.OpenGL.OcclusionQueryEventMaskAmd param); + internal static QueryObjectParameteruiAMD glQueryObjectParameteruiAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void RasterPos2d(Double x, Double y); internal static RasterPos2d glRasterPos2d; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -5382,13 +5385,13 @@ namespace OpenTK.Graphics.OpenGL internal delegate void ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target); internal static ResetHistogram glResetHistogram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + internal delegate void ResetHistogramEXT(OpenTK.Graphics.OpenGL.HistogramTargetExt target); internal static ResetHistogramEXT glResetHistogramEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target); internal static ResetMinmax glResetMinmax; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); + internal delegate void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.MinmaxTargetExt target); internal static ResetMinmaxEXT glResetMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ResizeBuffersMESA(); @@ -5439,7 +5442,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); internal static SamplePatternEXT glSamplePatternEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern); + internal delegate void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SamplePatternSgis pattern); internal static SamplePatternSGIS glSamplePatternSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param); @@ -5610,7 +5613,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); internal static SeparableFilter2D glSeparableFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); + internal delegate void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.SeparableTargetExt target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); internal static SeparableFilter2DEXT glSeparableFilter2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void SetFenceAPPLE(UInt32 fence); diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index 08760e67..3abb2113 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -793,6 +793,10 @@ namespace OpenTK.Graphics.OpenGL /// Gl2XBitAti = ((int)0x00000001) , /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// /// Original was GL_RED_BIT_ATI = 0x00000001 /// RedBitAti = ((int)0x00000001) , @@ -877,6 +881,10 @@ namespace OpenTK.Graphics.OpenGL /// PointBit = ((int)0x00000002) , /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// /// Original was GL_BLUE_BIT_ATI = 0x00000004 /// BlueBitAti = ((int)0x00000004) , @@ -901,6 +909,10 @@ namespace OpenTK.Graphics.OpenGL /// NegateBitAti = ((int)0x00000004) , /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004 /// UniformBarrierBit = ((int)0x00000004) , @@ -925,6 +937,10 @@ namespace OpenTK.Graphics.OpenGL /// PolygonBit = ((int)0x00000008) , /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 /// TessControlShaderBit = ((int)0x00000008) , @@ -10517,6 +10533,10 @@ namespace OpenTK.Graphics.OpenGL /// VertexAttribArrayLong = ((int)0x874E) , /// + /// Original was GL_OCCLUSION_QUERY_EVENT_MASK_AMD = 0x874F + /// + OcclusionQueryEventMaskAmd = ((int)0x874F) , + /// /// Original was GL_YCBCR_MESA = 0x8757 /// YcbcrMesa = ((int)0x8757) , @@ -16537,18 +16557,34 @@ namespace OpenTK.Graphics.OpenGL /// MaxTessEvaluationUniformBlocks = ((int)0x8E8A) , /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C + /// + CompressedRgbaBptcUnorm = ((int)0x8E8C) , + /// /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C /// CompressedRgbaBptcUnormArb = ((int)0x8E8C) , /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D + /// + CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) , + /// /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D /// CompressedSrgbAlphaBptcUnormArb = ((int)0x8E8D) , /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E + /// + CompressedRgbBptcSignedFloat = ((int)0x8E8E) , + /// /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E /// CompressedRgbBptcSignedFloatArb = ((int)0x8E8E) , /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F + /// + CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) , + /// /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F /// CompressedRgbBptcUnsignedFloatArb = ((int)0x8E8F) , @@ -19285,6 +19321,10 @@ namespace OpenTK.Graphics.OpenGL /// InvalidIndex = unchecked((int)0xFFFFFFFF) , /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + /// /// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF /// TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) , @@ -19637,6 +19677,37 @@ namespace OpenTK.Graphics.OpenGL SamplerObjectAmd = ((int)0x9155) , } + /// + /// Used in GL.Amd.QueryObjectParameter + /// + public enum AmdOcclusionQueryEvent : int + { + /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// + /// Original was GL_OCCLUSION_QUERY_EVENT_MASK_AMD = 0x874F + /// + OcclusionQueryEventMaskAmd = ((int)0x874F) , + /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + } + /// /// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo /// @@ -28094,7 +28165,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.BlendEquationSeparate /// public enum BlendEquationModeExt : int { @@ -28380,7 +28451,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Arb.MapBuffer /// public enum BufferAccessArb : int { @@ -28655,7 +28726,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.BindBuffer, GL.Arb.BufferData and 4 other functions + /// Used in GL.Arb.BindBuffer, GL.Arb.BufferData and 7 other functions /// public enum BufferTargetArb : int { @@ -29070,7 +29141,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgi.ColorTableParameter /// public enum ColorTableParameterPNameSgi : int { @@ -29124,7 +29195,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgi.ColorTableParameter, GL.Sgi.ColorTable and 3 other functions /// public enum ColorTableTargetSgi : int { @@ -29284,7 +29355,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.ConvolutionParameter, GL.Ext.GetConvolutionParameter /// public enum ConvolutionParameterExt : int { @@ -29353,7 +29424,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 5 other functions /// public enum ConvolutionTargetExt : int { @@ -30811,7 +30882,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 7 other functions + /// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 5 other functions /// public enum ExtConvolution : int { @@ -34484,7 +34555,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgix.Deform, GL.Sgix.LoadIdentityDeformationMap /// [Flags] public enum FfdMaskSgix : int @@ -34492,7 +34563,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgix.DeformationMap3 /// public enum FfdTargetSgix : int { @@ -34615,7 +34686,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.FogCoordPointer /// public enum FogPointerTypeExt : int { @@ -34653,7 +34724,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgix.FragmentLightModel /// public enum FragmentLightModelParameterSgix : int { @@ -35238,7 +35309,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgi.GetColorTableParameter /// public enum GetColorTableParameterPNameSgi : int { @@ -35406,7 +35477,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.GetHistogramParameter /// public enum GetHistogramParameterPNameExt : int { @@ -35530,7 +35601,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.GetMinmaxParameter /// public enum GetMinmaxParameterPNameExt : int { @@ -38893,7 +38964,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.GetHistogram, GL.Ext.GetHistogramParameter and 2 other functions /// public enum HistogramTargetExt : int { @@ -40546,7 +40617,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgix.LightEnv /// public enum LightEnvParameterSgix : int { @@ -41598,7 +41669,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.GetMinmax, GL.Ext.GetMinmaxParameter and 2 other functions /// public enum MinmaxTargetExt : int { @@ -41675,10 +41746,6 @@ namespace OpenTK.Graphics.OpenGL /// Zero = ((int)0) , /// - /// Original was GL_XOR = 0x1506 - /// - Xor = ((int)0x1506) , - /// /// Original was GL_XOR_NV = 0x1506 /// XorNv = ((int)0x1506) , @@ -41687,26 +41754,14 @@ namespace OpenTK.Graphics.OpenGL /// Invert = ((int)0x150A) , /// - /// Original was GL_RED = 0x1903 - /// - Red = ((int)0x1903) , - /// /// Original was GL_RED_NV = 0x1903 /// RedNv = ((int)0x1903) , /// - /// Original was GL_GREEN = 0x1904 - /// - Green = ((int)0x1904) , - /// /// Original was GL_GREEN_NV = 0x1904 /// GreenNv = ((int)0x1904) , /// - /// Original was GL_BLUE = 0x1905 - /// - Blue = ((int)0x1905) , - /// /// Original was GL_BLUE_NV = 0x1905 /// BlueNv = ((int)0x1905) , @@ -45158,6 +45213,34 @@ namespace OpenTK.Graphics.OpenGL TransformFeedback = ((int)0x8E22) , } + /// + /// Used in GL.Amd.QueryObjectParameter + /// + [Flags] + public enum OcclusionQueryEventMaskAmd : int + { + /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + } + /// /// Used in GL.Oes.MultiTexCoord1, GL.Oes.MultiTexCoord2 and 2 other functions /// @@ -46340,6 +46423,18 @@ namespace OpenTK.Graphics.OpenGL /// CompressedSignedRgRgtc2 = ((int)0x8DBE) , /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C + /// + CompressedRgbaBptcUnorm = ((int)0x8E8C) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E + /// + CompressedRgbBptcSignedFloat = ((int)0x8E8E) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F + /// + CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) , + /// /// Original was GL_R8_SNORM = 0x8F94 /// R8Snorm = ((int)0x8F94) , @@ -46701,7 +46796,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgis.GetPixelTexGenParameter, GL.Sgis.PixelTexGenParameter /// public enum PixelTexGenParameterNameSgis : int { @@ -48395,7 +48490,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgis.SamplePattern /// public enum SamplePatternSgis : int { @@ -48579,7 +48674,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.GetSeparableFilter, GL.Ext.SeparableFilter2D /// public enum SeparableTargetExt : int { @@ -57733,6 +57828,22 @@ namespace OpenTK.Graphics.OpenGL /// AtomicCounterBarrierBit = ((int)0x00001000) , /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C + /// + CompressedRgbaBptcUnorm = ((int)0x8E8C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D + /// + CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E + /// + CompressedRgbBptcSignedFloat = ((int)0x8E8E) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F + /// + CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) , + /// /// Original was GL_MAX_IMAGE_UNITS = 0x8F38 /// MaxImageUnits = ((int)0x8F38) , diff --git a/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs b/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs index 4c2ff4cc..08778500 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLObsolete.cs @@ -1840,7 +1840,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -1851,6 +1851,54 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use GetSeparableFilter(SeparableTargetExt) overloads instead")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [InAttribute, OutAttribute] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + /// /// Get separable convolution filter kernel images @@ -1898,7 +1946,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -1956,7 +2004,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2013,7 +2061,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); span = (T5)span_ptr.Target; } finally @@ -2074,7 +2122,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2135,7 +2183,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2196,7 +2244,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2257,7 +2305,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); column = (T4)column_ptr.Target; } finally @@ -2321,7 +2369,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2385,7 +2433,259 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use SeparableTargetExt overloads instead")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T3 row, [InAttribute, OutAttribute] ref T4 column, [InAttribute, OutAttribute] ref T5 span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use SeparableTargetExt overloads instead")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[] row, [InAttribute, OutAttribute] T4[] column, [InAttribute, OutAttribute] T5[] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use SeparableTargetExt overloads instead")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,] row, [InAttribute, OutAttribute] T4[,] column, [InAttribute, OutAttribute] T5[,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [Obsolete("Use SeparableTargetExt overloads instead")] + public static + void GetSeparableFilter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T3[,,] row, [InAttribute, OutAttribute] T4[,,] column, [InAttribute, OutAttribute] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2448,7 +2748,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -2517,7 +2817,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -2584,7 +2884,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -2651,7 +2951,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -2719,7 +3019,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); column = (T7)column_ptr.Target; } finally @@ -2731,6 +3031,413 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] IntPtr row, [InAttribute, OutAttribute] IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[] row, [InAttribute, OutAttribute] T7[] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] ref T7 column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,] row, [InAttribute, OutAttribute] T7[,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T6[,,] row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [Obsolete("Use ref/array overloads instead")] + public static + void SeparableFilter2D(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T6 row, [InAttribute, OutAttribute] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } /// /// Define a separable two-dimensional convolution filter @@ -2790,7 +3497,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -2861,7 +3568,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -2932,7 +3639,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.SeparableTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); row = (T6)row_ptr.Target; } finally diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs b/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs index bd3f56a4..da9fd95e 100644 --- a/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs +++ b/Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs @@ -757,6 +757,10 @@ namespace OpenTK.Graphics.OpenGL4 /// ContextFlagForwardCompatibleBit = ((int)0x00000001) , /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// /// Original was GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001 /// SyncFlushCommandsBit = ((int)0x00000001) , @@ -805,6 +809,10 @@ namespace OpenTK.Graphics.OpenGL4 /// FragmentShaderBitExt = ((int)0x00000002) , /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// /// Original was GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004 /// ContextFlagRobustAccessBitArb = ((int)0x00000004) , @@ -813,6 +821,10 @@ namespace OpenTK.Graphics.OpenGL4 /// GeometryShaderBit = ((int)0x00000004) , /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004 /// UniformBarrierBit = ((int)0x00000004) , @@ -821,6 +833,10 @@ namespace OpenTK.Graphics.OpenGL4 /// UniformBarrierBitExt = ((int)0x00000004) , /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008 /// TessControlShaderBit = ((int)0x00000008) , @@ -8477,18 +8493,34 @@ namespace OpenTK.Graphics.OpenGL4 /// MaxTessEvaluationUniformBlocks = ((int)0x8E8A) , /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C + /// + CompressedRgbaBptcUnorm = ((int)0x8E8C) , + /// /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C /// CompressedRgbaBptcUnormArb = ((int)0x8E8C) , /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D + /// + CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) , + /// /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D /// CompressedSrgbAlphaBptcUnormArb = ((int)0x8E8D) , /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E + /// + CompressedRgbBptcSignedFloat = ((int)0x8E8E) , + /// /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E /// CompressedRgbBptcSignedFloatArb = ((int)0x8E8E) , /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F + /// + CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) , + /// /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F /// CompressedRgbBptcUnsignedFloatArb = ((int)0x8E8F) , @@ -9905,6 +9937,10 @@ namespace OpenTK.Graphics.OpenGL4 /// InvalidIndex = unchecked((int)0xFFFFFFFF) , /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + /// /// Original was GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF /// TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF) , @@ -22770,6 +22806,34 @@ namespace OpenTK.Graphics.OpenGL4 TransformFeedback = ((int)0x8E22) , } + /// + /// Not used directly. + /// + [Flags] + public enum OcclusionQueryEventMaskAmd : int + { + /// + /// Original was GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD = 0x00000001 + /// + QueryDepthPassEventBitAmd = ((int)0x00000001) , + /// + /// Original was GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD = 0x00000002 + /// + QueryDepthFailEventBitAmd = ((int)0x00000002) , + /// + /// Original was GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD = 0x00000004 + /// + QueryStencilFailEventBitAmd = ((int)0x00000004) , + /// + /// Original was GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD = 0x00000008 + /// + QueryDepthBoundsFailEventBitAmd = ((int)0x00000008) , + /// + /// Original was GL_QUERY_ALL_EVENT_BITS_AMD = 0xFFFFFFFF + /// + QueryAllEventBitsAmd = unchecked((int)0xFFFFFFFF) , + } + /// /// Used in GL.ColorP3, GL.ColorP4 and 17 other functions /// @@ -23539,6 +23603,18 @@ namespace OpenTK.Graphics.OpenGL4 /// CompressedSignedRgRgtc2 = ((int)0x8DBE) , /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C + /// + CompressedRgbaBptcUnorm = ((int)0x8E8C) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E + /// + CompressedRgbBptcSignedFloat = ((int)0x8E8E) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F + /// + CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) , + /// /// Original was GL_R8_SNORM = 0x8F94 /// R8Snorm = ((int)0x8F94) , @@ -31544,6 +31620,22 @@ namespace OpenTK.Graphics.OpenGL4 /// AtomicCounterBarrierBit = ((int)0x00001000) , /// + /// Original was GL_COMPRESSED_RGBA_BPTC_UNORM = 0x8E8C + /// + CompressedRgbaBptcUnorm = ((int)0x8E8C) , + /// + /// Original was GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM = 0x8E8D + /// + CompressedSrgbAlphaBptcUnorm = ((int)0x8E8D) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT = 0x8E8E + /// + CompressedRgbBptcSignedFloat = ((int)0x8E8E) , + /// + /// Original was GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT = 0x8E8F + /// + CompressedRgbBptcUnsignedFloat = ((int)0x8E8F) , + /// /// Original was GL_MAX_IMAGE_UNITS = 0x8F38 /// MaxImageUnits = ((int)0x8F38) ,