diff --git a/Source/OpenTK/Graphics/ES11/ES11.cs b/Source/OpenTK/Graphics/ES11/ES11.cs index 9a07e043..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) 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/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/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index e027d74b..80b27477 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -13077,6 +13077,119 @@ namespace OpenTK.Graphics.OpenGL #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] 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 + } + #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 /// @@ -13187,6 +13300,123 @@ namespace OpenTK.Graphics.OpenGL #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) + { + #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] + [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) + 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] + [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) + 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] + [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) + 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] + [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 + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: ARB_vertex_buffer_object] [AutoGenerated(Category = "ARB_vertex_buffer_object", Version = "", EntryPoint = "glGetBufferPointervARB")] public static @@ -20220,6 +20450,34 @@ namespace OpenTK.Graphics.OpenGL #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. + /// + /// + [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) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + 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 /// @@ -73674,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 @@ -142214,6 +142494,39 @@ namespace OpenTK.Graphics.OpenGL #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.BlendEquationModeExt)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationModeExt)modeAlpha); + #if DEBUG + } + #endif + } + /// [requires: EXT_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately /// @@ -146003,6 +146316,283 @@ namespace OpenTK.Graphics.OpenGL #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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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) + 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 two-dimensional convolution filter /// @@ -146300,6 +146890,308 @@ namespace OpenTK.Graphics.OpenGL #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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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) + 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] /// Set convolution parameters /// @@ -146335,6 +147227,42 @@ namespace OpenTK.Graphics.OpenGL #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.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_convolution] /// Set convolution parameters /// @@ -146412,6 +147340,85 @@ namespace OpenTK.Graphics.OpenGL #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.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Single*)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_convolution] /// Set convolution parameters /// @@ -146447,6 +147454,42 @@ namespace OpenTK.Graphics.OpenGL #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.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_convolution] /// Set convolution parameters /// @@ -146524,6 +147567,85 @@ namespace OpenTK.Graphics.OpenGL #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.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_color_subtable] /// Respecify a portion of a color table /// @@ -146598,6 +147720,44 @@ namespace OpenTK.Graphics.OpenGL #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.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + /// [requires: EXT_convolution] /// Copy pixels into a two-dimensional convolution filter /// @@ -146640,6 +147800,49 @@ namespace OpenTK.Graphics.OpenGL #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.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] public static @@ -150813,6 +152016,208 @@ namespace OpenTK.Graphics.OpenGL #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, 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. + /// + /// + [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) + 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. + /// + /// + [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) + 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. + /// + /// + [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) + 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. + /// + /// + [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 + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_fog_coord] /// Define an array of fog coordinates /// @@ -153850,6 +155255,233 @@ namespace OpenTK.Graphics.OpenGL #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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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) + 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 convolution parameters /// @@ -153960,6 +155592,119 @@ namespace OpenTK.Graphics.OpenGL #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 + 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. + /// + /// + [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 /// @@ -154070,6 +155815,119 @@ namespace OpenTK.Graphics.OpenGL #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 = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution 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. + /// + /// + [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) + { + #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; + } + } + #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 = "glGetConvolutionParameterivEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ConvolutionTargetExt)target, (OpenTK.Graphics.OpenGL.ConvolutionParameterExt)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetDoublei_vEXT")] public static @@ -154952,6 +156810,258 @@ namespace OpenTK.Graphics.OpenGL #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, [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. + /// + /// + [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) + 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. + /// + /// + [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) + 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. + /// + /// + [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) + 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. + /// + /// + [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 + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_histogram] /// Get histogram table /// @@ -155199,6 +157309,119 @@ namespace OpenTK.Graphics.OpenGL #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 = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram 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. + /// + /// + [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) + { + #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; + } + } + #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 /// @@ -155309,6 +157532,119 @@ namespace OpenTK.Graphics.OpenGL #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 + } + /// [requires: EXT_histogram] /// Get histogram parameters /// @@ -156385,6 +158721,258 @@ namespace OpenTK.Graphics.OpenGL #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, [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. + /// + /// + [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) + 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. + /// + /// + [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) + 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. + /// + /// + [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) + 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. + /// + /// + [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 + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_histogram] /// Get minimum and maximum pixel values /// @@ -156632,6 +159220,119 @@ namespace OpenTK.Graphics.OpenGL #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 = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram 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. + /// + /// + [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) + { + #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; + } + } + #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 /// @@ -156742,6 +159443,119 @@ namespace OpenTK.Graphics.OpenGL #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 + } + /// [requires: EXT_histogram] /// Get minmax parameters /// @@ -164830,6 +167644,44 @@ namespace OpenTK.Graphics.OpenGL #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. + /// + /// + [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) + { + #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 + } + /// [requires: EXT_histogram] /// Define histogram table /// @@ -166228,6 +169080,39 @@ namespace OpenTK.Graphics.OpenGL #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. + /// + /// + [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) + { + #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 + } + /// [requires: EXT_histogram] /// Define minmax table /// @@ -181075,6 +183960,29 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_histogram] + /// Reset histogram table entries to zero + /// + /// + /// + /// 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) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.HistogramTargetExt)target); + #if DEBUG + } + #endif + } + /// [requires: EXT_histogram] /// Reset histogram table entries to zero /// @@ -181097,6 +184005,29 @@ namespace OpenTK.Graphics.OpenGL #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 + } + /// [requires: EXT_histogram] /// Reset minmax table entries to initial values /// @@ -201364,6 +204295,63 @@ namespace OpenTK.Graphics.OpenGL #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.BufferTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + /// [requires: NV_video_capture] [AutoGenerated(Category = "NV_video_capture", Version = "", EntryPoint = "glBindVideoCaptureStreamBufferNV")] public static @@ -248398,6 +251386,118 @@ namespace OpenTK.Graphics.OpenGL #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 + 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")] + [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 /// @@ -248507,6 +251607,118 @@ namespace OpenTK.Graphics.OpenGL #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 = "glColorTableParameterivSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable 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. + /// + /// + [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) + { + #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. + /// + /// + [Obsolete("Use ColorTableTargetSgi overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGI_color_table", Version = "", EntryPoint = "glColorTableParameterivSGI")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPNameSgi)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: SGI_color_table] /// Define a color lookup table /// @@ -248779,6 +251991,283 @@ namespace OpenTK.Graphics.OpenGL #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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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) + 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] /// Copy pixels into a color table /// @@ -248821,6 +252310,49 @@ namespace OpenTK.Graphics.OpenGL #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.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + /// [requires: SGI_color_table] /// Get color lookup table parameters /// @@ -248931,6 +252463,119 @@ namespace OpenTK.Graphics.OpenGL #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 + 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. + /// + /// + [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) + { + #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. + /// + /// + [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 /// @@ -249041,6 +252686,119 @@ namespace OpenTK.Graphics.OpenGL #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 = "glGetColorTableParameterivSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable 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. + /// + /// + [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) + { + #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; + } + } + #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 = "glGetColorTableParameterivSGI")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.ColorTableTargetSgi)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPNameSgi)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: SGI_color_table] /// Retrieve contents of a color lookup table /// @@ -249263,6 +253021,233 @@ namespace OpenTK.Graphics.OpenGL #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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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 + { + #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. + /// + /// + [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) + 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 + } + } public static partial class Sgis @@ -249564,6 +253549,28 @@ namespace OpenTK.Graphics.OpenGL #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 + 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] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] public static @@ -249623,6 +253630,68 @@ namespace OpenTK.Graphics.OpenGL #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 + 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] + [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) + { + #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] + [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 @@ -249682,6 +253751,68 @@ namespace OpenTK.Graphics.OpenGL #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) + { + #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] + [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) + { + #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; + } + } + #if DEBUG + } + #endif + } + + /// [requires: SGIS_pixel_texture] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.PixelTexGenParameterNameSgis)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glGetSharpenTexFuncSGIS")] public static @@ -249836,6 +253967,22 @@ namespace OpenTK.Graphics.OpenGL #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 @@ -249873,6 +254020,45 @@ namespace OpenTK.Graphics.OpenGL #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) + { + #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] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture 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] [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameteriSGIS")] public static @@ -249888,6 +254074,22 @@ namespace OpenTK.Graphics.OpenGL #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 @@ -249925,6 +254127,45 @@ namespace OpenTK.Graphics.OpenGL #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) + { + #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] + [Obsolete("Use PixelTexGenParameterNameSgis overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIS_pixel_texture", Version = "", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.OpenGL.SgisPixelTexture 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_point_parameters] /// Specify point parameters /// @@ -250058,6 +254299,22 @@ namespace OpenTK.Graphics.OpenGL #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.SamplePatternSgis)pattern); + #if DEBUG + } + #endif + } + /// [requires: SGIS_sharpen_texture] [AutoGenerated(Category = "SGIS_sharpen_texture", Version = "", EntryPoint = "glSharpenTexFuncSGIS")] public static @@ -250506,6 +254763,67 @@ namespace OpenTK.Graphics.OpenGL #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 + 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] + [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) + { + #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] + [Obsolete("Use FfdTargetSgix overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3dSGIX")] + public static + unsafe 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 + 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] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] public static @@ -250564,6 +254882,67 @@ namespace OpenTK.Graphics.OpenGL #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 + 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] + [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) + { + #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] + [Obsolete("Use FfdTargetSgix overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformationMap3fSGIX")] + public static + unsafe 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 + 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] [AutoGenerated(Category = "SGIX_polynomial_ffd", Version = "", EntryPoint = "glDeformSGIX")] public static @@ -250579,6 +254958,39 @@ namespace OpenTK.Graphics.OpenGL #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 + void Deform(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeformSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); + #if DEBUG + } + #endif + } + /// [requires: SGIX_async] [AutoGenerated(Category = "SGIX_async", Version = "", EntryPoint = "glDeleteAsyncMarkersSGIX")] public static @@ -250838,6 +255250,22 @@ namespace OpenTK.Graphics.OpenGL #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 @@ -250875,6 +255303,45 @@ namespace OpenTK.Graphics.OpenGL #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) + { + #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] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelfvSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting 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] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModeliSGIX")] public static @@ -250890,6 +255357,22 @@ namespace OpenTK.Graphics.OpenGL #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 @@ -250927,6 +255410,45 @@ namespace OpenTK.Graphics.OpenGL #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) + { + #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] + [Obsolete("Use FragmentLightModelParameterSgix overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentLightModelivSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.OpenGL.SgixFragmentLighting 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] [AutoGenerated(Category = "SGIX_fragment_lighting", Version = "", EntryPoint = "glFragmentMaterialfSGIX")] public static @@ -251886,6 +256408,22 @@ namespace OpenTK.Graphics.OpenGL #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.LightEnvParameterSgix)pname, (Int32)param); + #if DEBUG + } + #endif + } + /// [requires: SGIX_list_priority] [AutoGenerated(Category = "SGIX_list_priority", Version = "", EntryPoint = "glListParameterfSGIX")] public static @@ -252113,6 +256651,39 @@ namespace OpenTK.Graphics.OpenGL #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 + void LoadIdentityDeformationMap(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentityDeformationMapSGIX((OpenTK.Graphics.OpenGL.FfdMaskSgix)mask); + #if DEBUG + } + #endif + } + /// [requires: SGIX_pixel_texture] [AutoGenerated(Category = "SGIX_pixel_texture", Version = "", EntryPoint = "glPixelTexGenSGIX")] public static diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index 8b7b8f6b..3abb2113 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -26118,7 +26118,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Arb.GetBufferParameter, GL.Arb.GetBufferPointer and 1 other function /// public enum ArbVertexBufferObject : int { @@ -30743,7 +30743,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.BlendEquationSeparate /// public enum ExtBlendEquationSeparate : int { @@ -30882,7 +30882,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D and 5 other functions /// public enum ExtConvolution : int { @@ -31167,7 +31167,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.FogCoordPointer /// public enum ExtFogCoord : int { @@ -31702,7 +31702,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.GetHistogram, GL.Ext.GetHistogramParameter and 6 other functions /// public enum ExtHistogram : int { @@ -44437,7 +44437,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.NV.DrawTransformFeedback + /// Used in GL.NV.BindTransformFeedback, GL.NV.DrawTransformFeedback /// public enum NvTransformFeedback2 : int { @@ -48740,7 +48740,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgi.ColorTableParameter, GL.Sgi.ColorTable and 3 other functions /// public enum SgiColorTable : int { @@ -48884,7 +48884,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgis.SamplePattern /// public enum SgisMultisample : int { @@ -48955,7 +48955,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgis.GetPixelTexGenParameter, GL.Sgis.PixelTexGenParameter /// public enum SgisPixelTexture : int { @@ -49489,7 +49489,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Sgix.FragmentLight, GL.Sgix.GetFragmentLight + /// Used in GL.Sgix.FragmentLight, GL.Sgix.FragmentLightModel and 2 other functions /// public enum SgixFragmentLighting : int { @@ -49759,7 +49759,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Sgix.DeformationMap3 /// public enum SgixPolynomialFfd : int {