diff --git a/Source/Bind/Specifications/GL2/overrides.xml b/Source/Bind/Specifications/GL2/overrides.xml index a997a0bb..ea2940e4 100644 --- a/Source/Bind/Specifications/GL2/overrides.xml +++ b/Source/Bind/Specifications/GL2/overrides.xml @@ -1646,32 +1646,54 @@ - + BeginMode - + BeginFeedbackMode - + BufferTarget - + BufferTarget - + ArbDrawBuffersBlend - + + + ArbDrawBuffersBlend + + + ArbDrawBuffersBlend + + + + + ArbDrawBuffersBlend + + + ArbDrawBuffersBlend + + + ArbDrawBuffersBlend + + + ArbDrawBuffersBlend + + + ArbDrawBuffersBlend @@ -1685,70 +1707,67 @@ ArbDrawBuffersBlend - - - ArbDrawBuffersBlend - - - ArbDrawBuffersBlend - - - + ClearBuffer - + int - + uint - + BeginMode - + BeginMode - + + + IntPtr + + + BeginMode - + BeginMode - + BeginMode - + BeginMode - + BeginMode - + BeginMode - + ArbSync @@ -1756,67 +1775,279 @@ uint - - - ArbSync - - - + Version32 - - - ProgramParameter - - - - - StringName - - - + ArbSync - + + + ProgramParameter + + + + + StringName + + + + + ArbSync + + + BeginMode - + BeginMode - + BeginMode - + Version32 - + VertexAttribIPointerType - + int - + uint - + + + BeginMode + + + + + All + + + + + NvTransformFeedback2 + + + + + uint + + + + + All + + + All + + + All + + + All + + + + + IbmVertexArrayLists + + + + + ExtBlendMinmax + + + + + ExtFramebufferBlit + + + + + EnableCap + + + + + ExtDrawBuffers2 + + + + + BeginMode + + + + + BeginMode + + + + + BeginMode + + + + + BeginMode + + + + + EnableCap + + + + + ExtDrawBuffers2 + + + + + ExtDrawBuffers2 + + + + + ExtDrawBuffers2 + + + + + ExtDirectStateAccess + + + + + ExtDrawBuffers2 + + + + + BeginMode + + + + + BeginMode + + + + + ExtDirectStateAccess + + + + + ExtDirectStateAccess + + + + + ExtDirectStateAccess + + + + + ExtFramebufferMultisample + + + ExtFramebufferMultisample + + + + + ExtDirectStateAccess + + + + + ExtDirectStateAccess + + + + + ExtDirectStateAccess + + + + + BeginMode + + + + + BeginMode + + + + + AtiVertexAttribArrayObject + + + + + BeginMode + + + + + BeginMode + + + + + ArbVertexProgram + + + + + ArbVertexProgram + + + + + ArbVertexProgram + + + + + BeginMode + + + + + BeginMode + + + + + BeginMode + + + BeginMode diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 184ca60a..1af6ae20 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -3729,6 +3729,22 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawElementArrayAPPLE")] + public static + void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawElementArrayAPPLE")] public static @@ -3744,6 +3760,39 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayAPPLE")] public static @@ -5275,6 +5324,69 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static @@ -5335,6 +5447,134 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + /// [requires: APPLE_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + /// [requires: APPLE_element_array] [AutoGenerated(Category = "APPLE_element_array", Version = "", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static @@ -6114,34 +6354,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: ARB_draw_buffers_blend] - /// Specify the equation used for both the RGB blend equation and the Alpha blend equation - /// - /// - /// - /// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation. - /// - /// - /// - /// - /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - [Obsolete("Use BlendEquationMode overload instead")] - [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } - /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation /// @@ -6169,35 +6381,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: ARB_draw_buffers_blend] - /// Specify the equation used for both the RGB blend equation and the Alpha blend equation - /// - /// - /// - /// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation. - /// - /// - /// - /// - /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - [Obsolete("Use BlendEquationMode overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_buffers_blend", Version = "", EntryPoint = "glBlendEquationiARB")] - public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - #if DEBUG - } - #endif - } - /// [requires: ARB_draw_buffers_blend] /// Specify the equation used for both the RGB blend equation and the Alpha blend equation /// @@ -16269,6 +16452,132 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] public static @@ -16389,6 +16698,132 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + /// [requires: ARB_fragment_program|ARB_vertex_program] /// Returns a parameter from a program object /// @@ -16461,80 +16896,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: ARB_fragment_program|ARB_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramivARB")] - public static - void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// [requires: ARB_fragment_program|ARB_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramivARB")] - public static - unsafe void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] public static @@ -16655,6 +17016,132 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] public static @@ -16775,6 +17262,132 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glGetProgramStringARB")] public static @@ -22621,39 +23234,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: ARB_geometry_shader4] - /// Specify a parameter for a program object - /// - /// - /// - /// Specifies the name of a program object whose parameter to modify. - /// - /// - /// - /// - /// Specifies the name of the parameter to modify. - /// - /// - /// - /// - /// Specifies the new value of the parameter specified by pname for program. - /// - /// - [Obsolete("Use ProgramParameterName overload instead")] - [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glProgramParameteriARB")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } - /// [requires: ARB_geometry_shader4] /// Specify a parameter for a program object /// @@ -22687,40 +23267,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: ARB_geometry_shader4] - /// Specify a parameter for a program object - /// - /// - /// - /// Specifies the name of a program object whose parameter to modify. - /// - /// - /// - /// - /// Specifies the name of the parameter to modify. - /// - /// - /// - /// - /// Specifies the new value of the parameter specified by pname for program. - /// - /// - [Obsolete("Use ProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_geometry_shader4", Version = "", EntryPoint = "glProgramParameteriARB")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } - /// [requires: ARB_fragment_program|ARB_vertex_program] [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] public static @@ -22833,6 +23379,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: ARB_fragment_program|ARB_vertex_program] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "ARB_fragment_program|ARB_vertex_program", Version = "", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, [InAttribute, OutAttribute] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + @string = (T3)@string_ptr.Target; + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: ARB_bindless_texture] [AutoGenerated(Category = "ARB_bindless_texture", Version = "", EntryPoint = "glProgramUniformHandleui64ARB")] public static @@ -33751,6 +34414,22 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ATI_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawElementArrayATI")] + public static + void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count); + #if DEBUG + } + #endif + } + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawElementArrayATI")] public static @@ -33766,6 +34445,39 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ATI_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); + #if DEBUG + } + #endif + } + + /// [requires: ATI_element_array] + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); + #if DEBUG + } + #endif + } + /// [requires: ATI_element_array] [AutoGenerated(Category = "ATI_element_array", Version = "", EntryPoint = "glDrawRangeElementArrayATI")] public static @@ -36094,6 +36806,22 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ATI_vertex_attrib_array_object] + [Obsolete("Use VertexAttribPointerType overload instead")] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + /// [requires: ATI_vertex_attrib_array_object] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] public static @@ -36109,6 +36837,23 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: ATI_vertex_attrib_array_object] + [Obsolete("Use VertexAttribPointerType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + /// [requires: ATI_vertex_attrib_array_object] [System.CLSCompliant(false)] [AutoGenerated(Category = "ATI_vertex_attrib_array_object", Version = "", EntryPoint = "glVertexAttribArrayObjectATI")] @@ -40999,6 +41744,49 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: v1.4] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// For glBlendFuncSeparatei, specifies the index of the draw buffer for which to set the blend functions. + /// + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [Obsolete("Use BlendingFactorSrc overload instead")] + [AutoGenerated(Category = "VERSION_1_4", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] + public static + void BlendFuncSeparate(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend sfactorRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dfactorRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend sfactorAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha); + #if DEBUG + } + #endif + } + /// [requires: v1.4] /// Specify pixel arithmetic for RGB and alpha components separately /// @@ -139982,29 +140770,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: EXT_transform_feedback] - /// Start transform feedback operation - /// - /// - /// - /// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. - /// - /// - [Obsolete("Use TransformFeedbackPrimitiveType overload instead")] - [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBeginTransformFeedbackEXT")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)primitiveMode); - #if DEBUG - } - #endif - } - /// [requires: EXT_transform_feedback] /// Start transform feedback operation /// @@ -140042,73 +140807,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: EXT_transform_feedback] - /// Bind a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseEXT")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - /// [requires: EXT_transform_feedback] - /// Bind a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseEXT")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - /// [requires: EXT_transform_feedback] /// Bind a buffer object to an indexed buffer target /// @@ -140205,93 +140903,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: EXT_transform_feedback] - /// Bind a range within a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - /// - /// - /// The starting offset in basic machine units into the buffer object buffer. - /// - /// - /// - /// - /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - /// [requires: EXT_transform_feedback] - /// Bind a range within a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - /// - /// - /// The starting offset in basic machine units into the buffer object buffer. - /// - /// - /// - /// - /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "EXT_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - /// [requires: EXT_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target /// @@ -141482,10 +142093,9 @@ namespace OpenTK.Graphics.OpenGL /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] public static - void BlendEquation(OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode) + void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141510,9 +142120,10 @@ namespace OpenTK.Graphics.OpenGL /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [Obsolete("Use BlendEquationMode overload instead")] [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")] public static - void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) + void BlendEquation(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141635,6 +142246,44 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_framebuffer_blit] + /// Copy a block of pixels from the read framebuffer to the draw framebuffer + /// + /// + /// + /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer. + /// + /// + /// + /// + /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. + /// + /// + /// + /// + /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT. + /// + /// + /// + /// + /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR. + /// + /// + [Obsolete("Use BlitFramebufferFilter overload instead")] + [AutoGenerated(Category = "EXT_framebuffer_blit", Version = "", EntryPoint = "glBlitFramebufferEXT")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.ExtFramebufferBlit filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); + #if DEBUG + } + #endif + } + /// [requires: EXT_framebuffer_object] /// Check the completeness status of a framebuffer /// @@ -147638,6 +148287,72 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use ArrayCap overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] + public static + void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use ArrayCap overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] + public static + void DisableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use IndexedEnableCap overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use IndexedEnableCap overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glDisableIndexedEXT")] public static @@ -149679,6 +150394,72 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use ArrayCap overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] + public static + void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use ArrayCap overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] + public static + void EnableClientStateIndexed(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use IndexedEnableCap overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] + public static + void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use IndexedEnableCap overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] + public static + void EnableIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glEnableIndexedEXT")] public static @@ -151891,6 +152672,132 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use All overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use All overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + /// [requires: EXT_paletted_texture] /// Retrieve contents of a color lookup table /// @@ -154465,6 +155372,132 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use GetIndexedPName overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use GetIndexedPName overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use GetIndexedPName overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use GetIndexedPName overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use GetIndexedPName overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use GetIndexedPName overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glGetIntegerIndexedvEXT")] public static @@ -157353,6 +158386,46 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use ProgramProperty overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use ProgramProperty overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] public static @@ -157391,6 +158464,47 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use ProgramProperty overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use ProgramProperty overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] @@ -164010,6 +165124,39 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use IndexedEnableCap overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] + [Obsolete("Use IndexedEnableCap overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access|EXT_draw_buffers2] [AutoGenerated(Category = "EXT_direct_state_access|EXT_draw_buffers2", Version = "", EntryPoint = "glIsEnabledIndexedEXT")] public static @@ -167372,6 +168519,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static @@ -167484,6 +168748,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static @@ -167596,6 +168977,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static @@ -171300,39 +172798,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] - /// Specify a parameter for a program object - /// - /// - /// - /// Specifies the name of a program object whose parameter to modify. - /// - /// - /// - /// - /// Specifies the name of the parameter to modify. - /// - /// - /// - /// - /// Specifies the new value of the parameter specified by pname for program. - /// - /// - [Obsolete("Use ProgramParameterName overload instead")] - [AutoGenerated(Category = "EXT_geometry_shader4|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } - /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] /// Specify a parameter for a program object /// @@ -171366,40 +172831,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: EXT_geometry_shader4|EXT_separate_shader_objects] - /// Specify a parameter for a program object - /// - /// - /// - /// Specifies the name of a program object whose parameter to modify. - /// - /// - /// - /// - /// Specifies the name of the parameter to modify. - /// - /// - /// - /// - /// Specifies the new value of the parameter specified by pname for program. - /// - /// - [Obsolete("Use ProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "EXT_geometry_shader4|EXT_separate_shader_objects", Version = "", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - #if DEBUG - } - #endif - } - /// [requires: EXT_direct_state_access] /// Specify the value of a uniform variable for a specified program object /// @@ -179512,6 +180943,49 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_framebuffer_multisample] + /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image + /// + /// + /// + /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER. + /// + /// + /// + /// + /// Specifies the number of samples to be used for the renderbuffer object's storage. + /// + /// + /// + /// + /// Specifies the internal format to use for the renderbuffer object's image. + /// + /// + /// + /// + /// Specifies the width of the renderbuffer, in pixels. + /// + /// + /// + /// + /// Specifies the height of the renderbuffer, in pixels. + /// + /// + [Obsolete("Use RenderbufferTarget overload instead")] + [AutoGenerated(Category = "EXT_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + /// [requires: EXT_framebuffer_multisample] /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image /// @@ -184048,6 +185522,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] public static @@ -184160,6 +185751,128 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage1DEXT")] @@ -184277,6 +185990,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] public static @@ -184389,6 +186219,128 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage2DEXT")] @@ -184506,6 +186458,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] public static @@ -184618,6 +186687,128 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: EXT_direct_state_access] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: EXT_direct_state_access] [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glTextureImage3DEXT")] @@ -190698,123 +192889,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - /// [requires: NV_vertex_program4] [System.CLSCompliant(false)] [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] @@ -190932,128 +193006,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program4] - [Obsolete("Use VertexAttribIntegerType overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - pointer = (T4)pointer_ptr.Target; - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - /// [requires: EXT_vertex_attrib_64bit] [AutoGenerated(Category = "EXT_vertex_attrib_64bit", Version = "", EntryPoint = "glVertexAttribL1dEXT")] public static @@ -192843,6 +194795,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: IBM_vertex_array_lists] + [Obsolete("Use FogPointerType overload instead")] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [Obsolete("Use FogPointerType overload instead")] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [Obsolete("Use FogPointerType overload instead")] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [Obsolete("Use FogPointerType overload instead")] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: IBM_vertex_array_lists] + [Obsolete("Use FogPointerType overload instead")] + [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: IBM_vertex_array_lists] [AutoGenerated(Category = "IBM_vertex_array_lists", Version = "", EntryPoint = "glIndexPointerListIBM")] public static @@ -193880,6 +195949,49 @@ namespace OpenTK.Graphics.OpenGL public static partial class Ingr { + /// [requires: INGR_blend_func_separate] + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// For glBlendFuncSeparatei, specifies the index of the draw buffer for which to set the blend functions. + /// + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO. + /// + /// + [Obsolete("Use IngrBlendFuncSeparate overload instead")] + [AutoGenerated(Category = "INGR_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateINGR")] + public static + void BlendFuncSeparate(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha); + #if DEBUG + } + #endif + } + /// [requires: INGR_blend_func_separate] /// Specify pixel arithmetic for RGB and alpha components separately /// @@ -198885,29 +200997,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_transform_feedback] - /// Start transform feedback operation - /// - /// - /// - /// Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. - /// - /// - [Obsolete("Use TransformFeedbackPrimitiveType overload instead")] - [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBeginTransformFeedbackNV")] - public static - void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)primitiveMode); - #if DEBUG - } - #endif - } - /// [requires: NV_transform_feedback] /// Start transform feedback operation /// @@ -198961,73 +201050,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_transform_feedback] - /// Bind a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - /// [requires: NV_transform_feedback] - /// Bind a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - /// [requires: NV_transform_feedback] /// Bind a buffer object to an indexed buffer target /// @@ -199124,93 +201146,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_transform_feedback] - /// Bind a range within a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - /// - /// - /// The starting offset in basic machine units into the buffer object buffer. - /// - /// - /// - /// - /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeNV")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - /// [requires: NV_transform_feedback] - /// Bind a range within a buffer object to an indexed buffer target - /// - /// - /// - /// Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, or GL_SHADER_STORAGE_BUFFER. - /// - /// - /// - /// - /// Specify the index of the binding point within the array specified by target. - /// - /// - /// - /// - /// The name of a buffer object to bind to the specified binding point. - /// - /// - /// - /// - /// The starting offset in basic machine units into the buffer object buffer. - /// - /// - /// - /// - /// The amount of data in machine units that can be read from the buffet object while used as an indexed target. - /// - /// - [Obsolete("Use BufferRangeTarget overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_transform_feedback", Version = "", EntryPoint = "glBindBufferRangeNV")] - public static - void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - /// [requires: NV_transform_feedback] /// Bind a range within a buffer object to an indexed buffer target /// @@ -202736,6 +204671,63 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: NV_transform_feedback2] + /// Render primitives using a count derived from a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + public static + void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + /// [requires: NV_transform_feedback2] + /// Render primitives using a count derived from a transform feedback object + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY, and GL_PATCHES are accepted. + /// + /// + /// + /// + /// Specifies the name of a transform feedback object from which to retrieve a primitive count. + /// + /// + [Obsolete("Use PrimitiveType overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_transform_feedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + public static + void DrawTransformFeedback(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); + #if DEBUG + } + #endif + } + /// [requires: NV_transform_feedback2] /// Render primitives using a count derived from a transform feedback object /// @@ -209099,119 +211091,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(Int32 id, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - /// [requires: NV_vertex_program] /// Returns a parameter from a program object /// @@ -209324,121 +211203,6 @@ namespace OpenTK.Graphics.OpenGL #endif } - /// [requires: NV_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// [requires: NV_vertex_program] - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATOMIC_COUNTER_BUFFERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_COMPUTE_WORK_GROUP_SIZE GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [Obsolete("Use GetProgramParameterName overload instead")] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(UInt32 id, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - /// [requires: NV_gpu_program4] [AutoGenerated(Category = "NV_gpu_program4", Version = "", EntryPoint = "glGetProgramLocalParameterIivNV")] public static @@ -220558,6 +222322,69 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: NV_vertex_program] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4dvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + /// [requires: NV_vertex_program] [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] public static @@ -220676,6 +222503,69 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: NV_vertex_program] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// [requires: NV_vertex_program] + [Obsolete("Use int overload instead")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NV_vertex_program", Version = "", EntryPoint = "glProgramParameters4fvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + /// [requires: NV_gpu_program5] [AutoGenerated(Category = "NV_gpu_program5", Version = "", EntryPoint = "glProgramSubroutineParametersuivNV")] public static @@ -251076,6 +252966,123 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: SGIX_igloo_interface] + [Obsolete("Use SgixIglooInterface overload instead")] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [Obsolete("Use SgixIglooInterface overload instead")] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [Obsolete("Use SgixIglooInterface overload instead")] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [Obsolete("Use SgixIglooInterface overload instead")] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// [requires: SGIX_igloo_interface] + [Obsolete("Use SgixIglooInterface overload instead")] + [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.OpenGL.All pname, [InAttribute, OutAttribute] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T1)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// [requires: SGIX_igloo_interface] [AutoGenerated(Category = "SGIX_igloo_interface", Version = "", EntryPoint = "glIglooInterfaceSGIX")] public static @@ -252197,6 +254204,22 @@ namespace OpenTK.Graphics.OpenGL #endif } + /// [requires: SUN_mesh_array] + [Obsolete("Use PrimitiveType overload instead")] + [AutoGenerated(Category = "SUN_mesh_array", Version = "", EntryPoint = "glDrawMeshArraysSUN")] + public static + void DrawMeshArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width); + #if DEBUG + } + #endif + } + /// [requires: SUN_mesh_array] [AutoGenerated(Category = "SUN_mesh_array", Version = "", EntryPoint = "glDrawMeshArraysSUN")] public static diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index 98e527c4..1faa5968 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -736,7 +736,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 7 other functions + /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 9 other functions /// public enum All : int { @@ -20810,7 +20810,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate and 6 other functions + /// Used in GL.Arb.BlendEquationSeparate, GL.Arb.BlendFunc and 4 other functions /// public enum ArbDrawBuffersBlend : int { @@ -26143,7 +26143,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 1 other function /// public enum ArbVertexProgram : int { @@ -27730,7 +27730,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Ati.GetVertexAttribArrayObject + /// Used in GL.Ati.GetVertexAttribArrayObject, GL.Ati.VertexAttribArrayObject /// public enum AtiVertexAttribArrayObject : int { @@ -27939,7 +27939,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.BeginTransformFeedback, GL.Ext.BeginTransformFeedback and 1 other function + /// Used in GL.BeginTransformFeedback /// public enum BeginFeedbackMode : int { @@ -27958,7 +27958,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced and 18 other functions + /// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray and 25 other functions /// public enum BeginMode : int { @@ -28557,7 +28557,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Apple.BufferParameter, GL.Apple.FlushMappedBufferRange and 20 other functions + /// Used in GL.Apple.BufferParameter, GL.Apple.FlushMappedBufferRange and 16 other functions /// public enum BufferTarget : int { @@ -29884,7 +29884,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Ati.ArrayObject, GL.Ati.GetArrayObject and 5 other functions + /// Used in GL.Ati.ArrayObject, GL.Ati.GetArrayObject and 7 other functions /// public enum EnableCap : int { @@ -30682,7 +30682,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.BlendEquation /// public enum ExtBlendMinmax : int { @@ -31013,7 +31013,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Ext.ClearNamedBufferData, GL.Ext.ClearNamedBufferSubData and 48 other functions + /// Used in GL.Ext.ClearNamedBufferData, GL.Ext.ClearNamedBufferSubData and 54 other functions /// public enum ExtDirectStateAccess : int { @@ -31032,7 +31032,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.DisableIndexed, GL.Ext.EnableIndexed and 3 other functions /// public enum ExtDrawBuffers2 : int { @@ -31100,7 +31100,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.BlitFramebuffer /// public enum ExtFramebufferBlit : int { @@ -31123,7 +31123,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Not used directly. + /// Used in GL.Ext.RenderbufferStorageMultisample /// public enum ExtFramebufferMultisample : int { @@ -39060,7 +39060,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Ibm.SecondaryColorPointerList + /// Used in GL.Ibm.FogCoordPointerList, GL.Ibm.SecondaryColorPointerList /// public enum IbmVertexArrayLists : int { @@ -44347,7 +44347,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.NV.BindTransformFeedback + /// Used in GL.NV.BindTransformFeedback, GL.NV.DrawTransformFeedback /// public enum NvTransformFeedback2 : int { @@ -47344,7 +47344,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.GetProgram, GL.GetProgram and 1 other function + /// Used in GL.GetProgram /// public enum ProgramParameter : int { @@ -56845,7 +56845,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.ProgramParameter, GL.GetInteger64 and 2 other functions + /// Used in GL.GetInteger64, GL.ProgramParameter /// public enum Version32 : int { @@ -59275,7 +59275,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.VertexAttribIPointer, GL.Ext.VertexAttribIPointer + /// Used in GL.VertexAttribIPointer /// public enum VertexAttribIPointerType : int { diff --git a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs index 80f9e181..789db93d 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs @@ -108,7 +108,7 @@ namespace OpenTK.Graphics.OpenGL public static void Color3(Color color) { - GL.Color3(color.R, color.G, color.B); + GL.Color3(color.R, color.G, color.B); } public static void Color4(Color color)