diff --git a/Source/Examples/OpenAL/1.1/Parrot.cs b/Source/Examples/OpenAL/1.1/Parrot.cs index b23853cf..4c65e8a1 100644 --- a/Source/Examples/OpenAL/1.1/Parrot.cs +++ b/Source/Examples/OpenAL/1.1/Parrot.cs @@ -178,7 +178,7 @@ namespace Examples if (available_samples * SampleToByte > buffer.Length * BlittableValueType.StrideOf(buffer)) { - buffer = new short[OpenTK.Functions.NextPowerOfTwo( + buffer = new short[MathHelper.NextPowerOfTwo( (int)(available_samples * SampleToByte / (double)BlittableValueType.StrideOf(buffer) + 0.5))]; } diff --git a/Source/Examples/OpenGL/1.1/DisplayLists.cs b/Source/Examples/OpenGL/1.1/DisplayLists.cs index 4088282c..778a5d05 100644 --- a/Source/Examples/OpenGL/1.1/DisplayLists.cs +++ b/Source/Examples/OpenGL/1.1/DisplayLists.cs @@ -37,7 +37,7 @@ using System.Windows.Forms; using System.Threading; using OpenTK; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; #endregion --- Using Directives --- @@ -147,12 +147,9 @@ namespace Examples.Tutorial protected override void OnRenderFrame(FrameEventArgs e) { + Matrix4 lookat = Matrix4.LookAt(0, 0, 16, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt( - 0.0, 0.0, 16.0, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0); + GL.LoadMatrix(ref lookat); GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); GL.CallLists(num_lists, ListNameType.Int, lists); diff --git a/Source/Examples/OpenGL/1.1/ImmediateMode.cs b/Source/Examples/OpenGL/1.1/ImmediateMode.cs index 377722d6..e4d8072c 100644 --- a/Source/Examples/OpenGL/1.1/ImmediateMode.cs +++ b/Source/Examples/OpenGL/1.1/ImmediateMode.cs @@ -69,17 +69,9 @@ namespace Examples.Tutorial double aspect_ratio = Width / (double)Height; + OpenTK.Matrix4 perspective = OpenTK.Matrix4.CreatePerspectiveFieldOfView(45, (float)aspect_ratio, 1, 64); GL.MatrixMode(MatrixMode.Projection); - if (Keyboard[OpenTK.Input.Key.Space]) - { - OpenTK.Matrix4 perspective = OpenTK.Matrix4.Perspective(45, (float)aspect_ratio, 1, 64); - GL.LoadMatrix(ref perspective); - } - else - { - GL.LoadIdentity(); - Glu.Perspective(45, (float)aspect_ratio, 1, 64); - } + GL.LoadMatrix(ref perspective); } #endregion @@ -113,11 +105,9 @@ namespace Examples.Tutorial { GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); + Matrix4 lookat = Matrix4.LookAt(0, 5, 5, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt(0.0, 5.0, 5.0, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0); + GL.LoadMatrix(ref lookat); angle += rotation_speed * (float)e.Time; GL.Rotate(angle, 0.0f, 1.0f, 0.0f); diff --git a/Source/Examples/OpenGL/1.1/Textures.cs b/Source/Examples/OpenGL/1.1/Textures.cs index 112c1c3d..1a7c489e 100644 --- a/Source/Examples/OpenGL/1.1/Textures.cs +++ b/Source/Examples/OpenGL/1.1/Textures.cs @@ -16,7 +16,6 @@ using System.Drawing.Imaging; using OpenTK; using OpenTK.Graphics.OpenGL; using OpenTK.Graphics; -using OpenTK.Graphics.OpenGL.Enums; namespace Examples.Tutorial { @@ -51,7 +50,7 @@ namespace Examples.Tutorial ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb); GL.TexImage2D(TextureTarget.Texture2D, 0, PixelInternalFormat.Rgba, data.Width, data.Height, 0, - OpenTK.Graphics.PixelFormat.Bgra, PixelType.UnsignedByte, data.Scan0); + OpenTK.Graphics.OpenGL.PixelFormat.Bgra, PixelType.UnsignedByte, data.Scan0); bitmap.UnlockBits(data); diff --git a/Source/Examples/OpenGL/1.1/VertexArrays.cs b/Source/Examples/OpenGL/1.1/VertexArrays.cs index 3bf18bda..1a60be96 100644 --- a/Source/Examples/OpenGL/1.1/VertexArrays.cs +++ b/Source/Examples/OpenGL/1.1/VertexArrays.cs @@ -11,11 +11,10 @@ using System.Drawing; using System.Threading; using OpenTK; -using OpenTK.Graphics.OpenGL; using System.Diagnostics; using OpenTK.Input; using OpenTK.Graphics; -using OpenTK.Graphics.OpenGL.Enums; +using OpenTK.Graphics.OpenGL; namespace Examples.Tutorial { @@ -90,11 +89,11 @@ namespace Examples.Tutorial GL.Viewport(0, 0, Width, Height); - double ratio = Width / (double)Height; + double aspect_ratio = Width / (double)Height; + OpenTK.Matrix4 perspective = OpenTK.Matrix4.CreatePerspectiveFieldOfView(45, (float)aspect_ratio, 1, 64); GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Perspective(45.0, ratio, 1.0, 64.0); + GL.LoadMatrix(ref perspective); } #endregion @@ -147,13 +146,9 @@ namespace Examples.Tutorial { GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); + Matrix4 lookat = Matrix4.LookAt(0, 5, 5, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt( - 0.0, 5.0, 5.0, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0 - ); + GL.LoadMatrix(ref lookat); angle += rotation_speed * (float)e.Time; diff --git a/Source/Examples/OpenGL/1.1/VertexLighting.cs b/Source/Examples/OpenGL/1.1/VertexLighting.cs index 01fed128..a5226ccc 100644 --- a/Source/Examples/OpenGL/1.1/VertexLighting.cs +++ b/Source/Examples/OpenGL/1.1/VertexLighting.cs @@ -10,7 +10,7 @@ using System.Text; using System.Drawing; using OpenTK; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using Examples.Shapes; namespace Examples.Tutorial @@ -83,11 +83,10 @@ namespace Examples.Tutorial GL.Viewport(0, 0, Width, Height); - double ratio = Width / (double)Height; - + float aspect_ratio = Width / (float)Height; + Matrix4 perpective = Matrix4.CreatePerspectiveFieldOfView(45, aspect_ratio, 1, 64); GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Perspective(45.0, ratio, 1.0, 64.0); + GL.LoadMatrix(ref perpective); } #endregion @@ -141,11 +140,10 @@ namespace Examples.Tutorial { GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); + Matrix4 lookat = Matrix4.LookAt(0, 0, -7.5f + zoom, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt(0.0, 0.0, -7.5 + zoom, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0); + GL.LoadMatrix(ref lookat); + GL.Rotate(x_angle, 0.0f, 1.0f, 0.0f); GL.Begin(BeginMode.Triangles); diff --git a/Source/Examples/OpenGL/1.5/VertexBufferObject.cs b/Source/Examples/OpenGL/1.5/VertexBufferObject.cs index dcd9d7fa..1cdbfc24 100644 --- a/Source/Examples/OpenGL/1.5/VertexBufferObject.cs +++ b/Source/Examples/OpenGL/1.5/VertexBufferObject.cs @@ -14,6 +14,7 @@ using System.Threading; using OpenTK; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Platform; #endregion @@ -76,11 +77,10 @@ namespace Examples.Tutorial { GL.Viewport(0, 0, Width, Height); - double ratio = Width / (double)Height; - + float aspect_ratio = Width / (float)Height; + Matrix4 perpective = Matrix4.CreatePerspectiveFieldOfView(45, aspect_ratio, 1, 64); GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Perspective(45.0, ratio, 1.0, 64.0); + GL.LoadMatrix(ref perpective); } #endregion @@ -110,11 +110,9 @@ namespace Examples.Tutorial GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); + Matrix4 lookat = Matrix4.LookAt(0, 5, 5, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt(0.0, 5.0, 5.0, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0); + GL.LoadMatrix(ref lookat); GL.Color4(System.Drawing.Color.Black); Draw(vbo[0]); diff --git a/Source/Examples/OpenGL/3.0/HelloGL3.cs b/Source/Examples/OpenGL/3.0/HelloGL3.cs index 5493af2b..9e356423 100644 --- a/Source/Examples/OpenGL/3.0/HelloGL3.cs +++ b/Source/Examples/OpenGL/3.0/HelloGL3.cs @@ -29,8 +29,9 @@ using System; using System.Diagnostics; using System.IO; -using OpenTK; -using OpenTK.Graphics; +using OpenTK; +using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace Examples.Tutorial { diff --git a/Source/Examples/OpenGL/EXT/FramebufferObject.cs b/Source/Examples/OpenGL/EXT/FramebufferObject.cs index de606b02..cdddd88f 100644 --- a/Source/Examples/OpenGL/EXT/FramebufferObject.cs +++ b/Source/Examples/OpenGL/EXT/FramebufferObject.cs @@ -218,13 +218,16 @@ namespace Examples.Tutorial protected override void OnResize(EventArgs e) { GL.Viewport(0, 0, Width, Height); - GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Perspective(60.0, Width / (double)Height, 1.0, 5.0); + + double aspect_ratio = Width / (double)Height; + OpenTK.Matrix4 perspective = OpenTK.Matrix4.CreatePerspectiveFieldOfView(45, (float)aspect_ratio, 1, 64); + GL.MatrixMode(MatrixMode.Projection); + GL.LoadMatrix(ref perspective); + + Matrix4 lookat = Matrix4.LookAt(0, 0, 3, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt(0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); + GL.LoadMatrix(ref lookat); base.OnResize(e); } @@ -233,12 +236,6 @@ namespace Examples.Tutorial { base.OnUpdateFrame(e); - if (Keyboard[Key.Space]) - { - ErrorCode err = GL.GetError(); - Console.WriteLine(err + " " + Glu.ErrorString((GluErrorCode)err)); - } - if (Keyboard[Key.Escape]) this.Exit(); } diff --git a/Source/Examples/OpenGL/GLSL/JuliaSetFractal.cs b/Source/Examples/OpenGL/GLSL/JuliaSetFractal.cs index 527d790f..5915f8d4 100644 --- a/Source/Examples/OpenGL/GLSL/JuliaSetFractal.cs +++ b/Source/Examples/OpenGL/GLSL/JuliaSetFractal.cs @@ -17,6 +17,7 @@ using System.IO; using OpenTK; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace Examples.Tutorial { @@ -160,7 +161,7 @@ namespace Examples.Tutorial { BitmapData data = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height), ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format24bppRgb); - GL.TexImage1D(TextureTarget.Texture1D, 0, PixelInternalFormat.Rgb8, data.Width, 0, OpenTK.Graphics.PixelFormat.Bgr, + GL.TexImage1D(TextureTarget.Texture1D, 0, PixelInternalFormat.Rgb8, data.Width, 0, OpenTK.Graphics.OpenGL.PixelFormat.Bgr, PixelType.UnsignedByte, data.Scan0); bitmap.UnlockBits(data); } @@ -180,8 +181,8 @@ namespace Examples.Tutorial System.Drawing.Imaging.ImageLockMode.WriteOnly, System.Drawing.Imaging.PixelFormat.Format24bppRgb); GL.ReadPixels(0, 0, this.Width, this.Height, - OpenTK.Graphics.PixelFormat.Bgr, - OpenTK.Graphics.PixelType.UnsignedByte, + OpenTK.Graphics.OpenGL.PixelFormat.Bgr, + OpenTK.Graphics.OpenGL.PixelType.UnsignedByte, data.Scan0); bmp.UnlockBits(data); bmp.RotateFlip(RotateFlipType.RotateNoneFlipY); diff --git a/Source/Examples/OpenGL/GLSL/SimpleGLSL.cs b/Source/Examples/OpenGL/GLSL/SimpleGLSL.cs index deabbc5a..86ea7489 100644 --- a/Source/Examples/OpenGL/GLSL/SimpleGLSL.cs +++ b/Source/Examples/OpenGL/GLSL/SimpleGLSL.cs @@ -196,11 +196,10 @@ namespace Examples.Tutorial { GL.Viewport(0, 0, Width, Height); - double ratio = Width / (double)Height; - + float aspect_ratio = Width / (float)Height; + Matrix4 perpective = Matrix4.CreatePerspectiveFieldOfView(45, aspect_ratio, 1, 64); GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Perspective(45.0, ratio, 1.0, 64.0); + GL.LoadMatrix(ref perpective); } #endregion @@ -239,11 +238,9 @@ namespace Examples.Tutorial GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); + Matrix4 lookat = Matrix4.LookAt(0, 5, 5, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt(0.0, 5.0, 5.0, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0); + GL.LoadMatrix(ref lookat); angle += rotation_speed * (float)e.Time; GL.Rotate(angle, 0.0f, 1.0f, 0.0f); diff --git a/Source/Examples/OpenGL/GLU/Tessellation.cs b/Source/Examples/OpenGL/GLU/Tessellation.cs deleted file mode 100644 index 5431626f..00000000 --- a/Source/Examples/OpenGL/GLU/Tessellation.cs +++ /dev/null @@ -1,272 +0,0 @@ -#region --- License --- -/* Licensed under the MIT/X11 license. - * Copyright (c) 2006-2008 the OpenTK Team. - * This notice may not be removed from any source distribution. - * See license.txt for licensing details. - */ -#endregion - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; - -using OpenTK; -using OpenTK.Graphics; -using OpenTK.Input; - -namespace Examples -{ - [Example("GLU Tesselation Functions Test", ExampleCategory.OpenGL, "GLU", Visible = false)] - public class Test : GameWindow - { - int startList; - IntPtr tess; - - // Define the signatures for the callback functions, and declare the callbacks. - delegate void BeginCallbackDelegate(BeginMode mode); - delegate void EndCallbackDelegate(); - delegate void VertexCallbackDelegate(IntPtr v); - delegate void ErrorCallbackDelegate(GluErrorCode code); - unsafe delegate void CombineCallbackDelegate( - [MarshalAs(UnmanagedType.LPArray, SizeConst = 3)]double[] coordinates, - [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)]double*[] vertexData, - [MarshalAs(UnmanagedType.LPArray, SizeConst = 4)]float[] weight, - double** dataOut); - - BeginCallbackDelegate tessBegin; - EndCallbackDelegate tessEnd; - ErrorCallbackDelegate tessError; - VertexCallbackDelegate tessVertex; - CombineCallbackDelegate tessCombine; - - public Test() : base() - { - Keyboard.KeyDown += KeyDownHandler; - } - - #region --- GLU Tessellation callbacks --- - - #region BeginHandler - - void BeginHandler(BeginMode mode) - { - GL.Begin(mode); - } - - #endregion - - #region EndHandler - - void EndHandler() - { - GL.End(); - } - - #endregion - - #region VertexHandler - - void VertexHandler(IntPtr v) - { - unsafe { GL.Vertex3((double*)v); } - } - - #endregion - - #region ErrorHandler - - void ErrorHandler(GluErrorCode code) - { - System.Windows.Forms.MessageBox.Show( - String.Format("GLU Error {0}: {1}", code.ToString(), Glu.ErrorString(code)), - "An error occured while tesselating."); - this.Exit(); - } - - #endregion - - #region CombineHandler - - unsafe double*[] combineData; - int data_index = 0; - unsafe void CombineHandler(double[] coordinates, double*[] data, float[] weight, double** dataOut) - { - // Workaround Mono 1.2.6 bug with unsafe inline initializers - if (combineData == null) - combineData = new double*[16]; - - double* out_data = combineData[data_index] = (double*)Marshal.AllocHGlobal(6 * sizeof(double)); - int i; - - out_data[0] = coordinates[0]; - out_data[1] = coordinates[1]; - out_data[2] = coordinates[2]; - - for (i = 3; i < 6; i++) - { - double* real_data = (double*)data[i-3]; - out_data[i] = weight[0] * real_data[0] + - weight[1] * real_data[1] + - weight[2] * real_data[2] + - weight[3] * real_data[3]; - } - data_index++; - - *dataOut = out_data; - } - - #endregion - - #endregion - - #region KeyDownHandler - - public void KeyDownHandler(KeyboardDevice sender, Key key) - { - switch (key) - { - case Key.Escape: - this.Exit(); - return; - } - } - - #endregion - - #region OnResize - - protected override void OnResize(EventArgs e) - { - GL.Viewport(0, 0, Width, Height); - GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Ortho2D(0.0, (double)Width, 0.0, (double)Height); - } - - #endregion - - #region OnLoad - - public override void OnLoad(EventArgs e) - { - double[][] rect = new double[4][] { - new double[] {50.0, 50.0, 0.0}, - new double[] {200.0, 50.0, 0.0}, - new double[] {200.0, 200.0, 0.0}, - new double[] {50.0, 200.0, 0.0} - }; - double[][] tri = new double[3][] { - new double[] {75.0, 75.0, 0.0}, - new double[] {125.0, 175.0, 0.0}, - new double[] {175.0, 75.0, 0.0} - }; - double[][] star = new double[5][] { - new double[] {250.0, 50.0, 0.0, 1.0, 0.0, 1.0}, - new double[] {325.0, 200.0, 0.0, 1.0, 1.0, 0.0}, - new double[] {400.0, 50.0, 0.0, 0.0, 1.0, 1.0}, - new double[] {250.0, 150.0, 0.0, 1.0, 0.0, 0.0}, - new double[] {400.0, 150.0, 0.0, 0.0, 1.0, 0.0} - }; - - GL.ClearColor(System.Drawing.Color.MidnightBlue); - - tess = Glu.NewTess(); - startList = GL.GenLists(3); - - tessVertex = this.VertexHandler; - tessBegin = this.BeginHandler; - tessEnd = this.EndHandler; - tessError = this.ErrorHandler; - unsafe { tessCombine = this.CombineHandler; } - Trace.Assert(tessVertex != null, "Failed to load tesselator callback function."); - Trace.Assert(tessBegin != null, "Failed to load tesselator begin callback function."); - Trace.Assert(tessEnd != null, "Failed to load tesselator end callback function."); - Trace.Assert(tessError != null, "Failed to load tesselator error callback function."); - Trace.Assert(tessCombine != null, "Failed to load tesselator combine callback function."); - - Glu.TessCallback(tess, TessCallback.TessVertex, tessVertex); - Glu.TessCallback(tess, TessCallback.TessBegin, tessBegin); - Glu.TessCallback(tess, TessCallback.TessEnd, tessEnd); - Glu.TessCallback(tess, TessCallback.TessError, tessError); - - // rectangle with triangular hole inside - GL.NewList(startList, ListMode.Compile); - GL.ShadeModel(ShadingModel.Flat); - Glu.TessBeginPolygon(tess, IntPtr.Zero); - Glu.TessBeginContour(tess); - Glu.TessVertex(tess, rect[0], rect[0]); - Glu.TessVertex(tess, rect[1], rect[1]); - Glu.TessVertex(tess, rect[2], rect[2]); - Glu.TessVertex(tess, rect[3], rect[3]); - Glu.TessEndContour(tess); - Glu.TessBeginContour(tess); - Glu.TessVertex(tess, tri[0], tri[0]); - Glu.TessVertex(tess, tri[1], tri[1]); - Glu.TessVertex(tess, tri[2], tri[2]); - Glu.TessEndContour(tess); - Glu.TessEndPolygon(tess); - GL.EndList(); - - Glu.TessCallback(tess, TessCallback.TessVertex, tessVertex); - Glu.TessCallback(tess, TessCallback.TessBegin, tessBegin); - Glu.TessCallback(tess, TessCallback.TessEnd, tessEnd); - Glu.TessCallback(tess, TessCallback.TessError, tessError); - Glu.TessCallback(tess, TessCallback.TessCombine, tessCombine); - - // smooth shaded, self-intersecting star - GL.NewList(startList + 1, ListMode.Compile); - GL.ShadeModel(ShadingModel.Smooth); - Glu.TessWindingRuleProperty(tess, TessWinding.TessWindingPositive); - Glu.TessBeginPolygon(tess, IntPtr.Zero); - Glu.TessBeginContour(tess); - Glu.TessVertex(tess, star[0], star[0]); - Glu.TessVertex(tess, star[1], star[1]); - Glu.TessVertex(tess, star[2], star[2]); - Glu.TessVertex(tess, star[3], star[3]); - Glu.TessVertex(tess, star[4], star[4]); - Glu.TessEndContour(tess); - Glu.TessEndPolygon(tess); - GL.EndList(); - } - - #endregion - - #region OnUnload - - public override void OnUnload(EventArgs e) - { - if (tess != IntPtr.Zero) - Glu.DeleteTess(tess); - GL.DeleteLists(startList, 3); - while (data_index != 0) - unsafe { Marshal.FreeHGlobal((IntPtr)combineData[data_index--]); } - } - - #endregion - - #region OnRenderFrame - - protected override void OnRenderFrame(FrameEventArgs e) - { - GL.Clear(ClearBufferMask.ColorBufferBit); - - GL.Color3(1.0f, 1.0f, 1.0f); - GL.CallList(startList); - GL.CallList(startList + 1); - GL.Flush(); - - this.SwapBuffers(); - } - - #endregion - - public static void Main() - { - using (Test test = new Test()) - { - Utilities.SetWindowTitle(test); - test.Run(30.0, 0.0); - } - } - } -} \ No newline at end of file diff --git a/Source/Examples/OpenGLES/1.1/SimpleWindow.cs b/Source/Examples/OpenGLES/1.1/SimpleWindow.cs new file mode 100644 index 00000000..d32571d7 --- /dev/null +++ b/Source/Examples/OpenGLES/1.1/SimpleWindow.cs @@ -0,0 +1,214 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +#region Using Directives + +using System; +using System.Collections.Generic; +using System.Windows.Forms; +using System.Threading; +using System.Drawing; + +using OpenTK; +using OpenTK.Graphics.ES11; + +#endregion +#if false +namespace Examples.Tutorial +{ + [Example("Immediate mode", ExampleCategory.OpenGLES, "1.1", Documentation = "SimpleES11Window")] + public class SimpleES11Window : GameWindow + { + #region --- Fields --- + + float rotation_speed = 3.0f; + float angle; + + #endregion + + #region --- Constructor --- + + public SimpleES11Window() + : base(800, 600, new GraphicsMode(16, 16)) + { } + + #endregion + + #region OnLoad + + public override void OnLoad(EventArgs e) + { + base.OnLoad(e); + + GL.ClearColor(Color.MidnightBlue); + GL.Enable(EnableCap.DepthTest); + } + + #endregion + + #region OnResize + + /// + /// Called when the user resizes the window. + /// + /// Contains the new width/height of the window. + /// + /// You want the OpenGL viewport to match the window. This is the place to do it! + /// + protected override void OnResize(EventArgs e) + { + GL.Viewport(0, 0, Width, Height); + + double aspect_ratio = Width / (double)Height; + + GL.MatrixMode(MatrixMode.Projection); + if (Keyboard[OpenTK.Input.Key.Space]) + { + OpenTK.Matrix4 perspective = OpenTK.Matrix4.Perspective(45, (float)aspect_ratio, 1, 64); + GL.LoadMatrix(ref perspective); + } + else + { + GL.LoadIdentity(); + Glu.Perspective(45, (float)aspect_ratio, 1, 64); + } + } + + #endregion + + #region OnUpdateFrame + + /// + /// Prepares the next frame for rendering. + /// + /// + /// Place your control logic here. This is the place to respond to user input, + /// update object positions etc. + /// + protected override void OnUpdateFrame(FrameEventArgs e) + { + if (Keyboard[OpenTK.Input.Key.Escape]) + { + this.Exit(); + return; + } + } + + #endregion + + #region OnRenderFrame + + /// + /// Place your rendering code here. + /// + protected override void OnRenderFrame(FrameEventArgs e) + { + GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); + + GL.MatrixMode(MatrixMode.Modelview); + GL.LoadIdentity(); + Glu.LookAt(0.0, 5.0, 5.0, + 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0); + + angle += rotation_speed * (float)e.Time; + GL.Rotate(angle, 0.0f, 1.0f, 0.0f); + + DrawCube(); + + this.SwapBuffers(); + } + + #endregion + + #region private void DrawCube() + + private void DrawCube() + { + GL.Begin(BeginMode.Quads); + + GL.Color3(Color.Silver); + GL.Vertex3(-1.0f, -1.0f, -1.0f); + GL.Vertex3(-1.0f, 1.0f, -1.0f); + GL.Vertex3(1.0f, 1.0f, -1.0f); + GL.Vertex3(1.0f, -1.0f, -1.0f); + + GL.Color3(Color.Honeydew); + GL.Vertex3(-1.0f, -1.0f, -1.0f); + GL.Vertex3(1.0f, -1.0f, -1.0f); + GL.Vertex3(1.0f, -1.0f, 1.0f); + GL.Vertex3(-1.0f, -1.0f, 1.0f); + + GL.Color3(Color.Moccasin); + + GL.Vertex3(-1.0f, -1.0f, -1.0f); + GL.Vertex3(-1.0f, -1.0f, 1.0f); + GL.Vertex3(-1.0f, 1.0f, 1.0f); + GL.Vertex3(-1.0f, 1.0f, -1.0f); + + GL.Color3(Color.IndianRed); + GL.Vertex3(-1.0f, -1.0f, 1.0f); + GL.Vertex3(1.0f, -1.0f, 1.0f); + GL.Vertex3(1.0f, 1.0f, 1.0f); + GL.Vertex3(-1.0f, 1.0f, 1.0f); + + GL.Color3(Color.PaleVioletRed); + GL.Vertex3(-1.0f, 1.0f, -1.0f); + GL.Vertex3(-1.0f, 1.0f, 1.0f); + GL.Vertex3(1.0f, 1.0f, 1.0f); + GL.Vertex3(1.0f, 1.0f, -1.0f); + + GL.Color3(Color.ForestGreen); + GL.Vertex3(1.0f, -1.0f, -1.0f); + GL.Vertex3(1.0f, 1.0f, -1.0f); + GL.Vertex3(1.0f, 1.0f, 1.0f); + GL.Vertex3(1.0f, -1.0f, 1.0f); + + GL.End(); + } + + #endregion + + #region public static void Main() + + /// + /// Entry point of this example. + /// + [STAThread] + public static void Main() + { + using (T03_Immediate_Mode_Cube example = new T03_Immediate_Mode_Cube()) + { + Utilities.SetWindowTitle(example); + example.Run(30.0, 0.0); + } + } + + #endregion + } +} +#endif \ No newline at end of file diff --git a/Source/Examples/OpenTK/Fonts/FontRenderingAdvanced.cs b/Source/Examples/OpenTK/Fonts/FontRenderingAdvanced.cs index 6d3f3d76..f7e2f1b4 100644 --- a/Source/Examples/OpenTK/Fonts/FontRenderingAdvanced.cs +++ b/Source/Examples/OpenTK/Fonts/FontRenderingAdvanced.cs @@ -13,6 +13,7 @@ using System.Diagnostics; using OpenTK; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Input; namespace Examples.Tutorial diff --git a/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs b/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs index 4c857ebd..4c5e8695 100644 --- a/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs +++ b/Source/Examples/OpenTK/Fonts/FontRenderingBasic.cs @@ -1,11 +1,40 @@ -using System; +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; + using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace Examples.WinForms { diff --git a/Source/Examples/OpenTK/GLControl/DerivedGLControl.cs b/Source/Examples/OpenTK/GLControl/DerivedGLControl.cs index 9b196f5f..0bc81c64 100644 --- a/Source/Examples/OpenTK/GLControl/DerivedGLControl.cs +++ b/Source/Examples/OpenTK/GLControl/DerivedGLControl.cs @@ -7,7 +7,7 @@ using System.Text; using System.Windows.Forms; using OpenTK; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace Examples.WinForms { diff --git a/Source/Examples/OpenTK/GLControl/GLControlGameLoop.cs b/Source/Examples/OpenTK/GLControl/GLControlGameLoop.cs index 92895038..160b49dd 100644 --- a/Source/Examples/OpenTK/GLControl/GLControlGameLoop.cs +++ b/Source/Examples/OpenTK/GLControl/GLControlGameLoop.cs @@ -16,8 +16,9 @@ using System.Windows.Forms; using System.Diagnostics; using System.Threading; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Platform; +using OpenTK; #endregion @@ -104,12 +105,10 @@ namespace Examples.WinForms GL.Viewport(0, 0, c.ClientSize.Width, c.ClientSize.Height); - double ratio = 0.0; - ratio = c.ClientSize.Width / (double)c.ClientSize.Height; - + float aspect_ratio = Width / (float)Height; + Matrix4 perpective = Matrix4.CreatePerspectiveFieldOfView(45, aspect_ratio, 1, 64); GL.MatrixMode(MatrixMode.Projection); - GL.LoadIdentity(); - Glu.Perspective(45.0, ratio, 1.0, 64.0); + GL.LoadMatrix(ref perpective); } #endregion @@ -141,13 +140,10 @@ namespace Examples.WinForms private void Render() { + Matrix4 lookat = Matrix4.LookAt(0, 5, 5, 0, 0, 0, 0, 1, 0); GL.MatrixMode(MatrixMode.Modelview); - GL.LoadIdentity(); - Glu.LookAt( - 0.0, 5.0, 5.0, - 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0 - ); + GL.LoadMatrix(ref lookat); + GL.Rotate(angle, 0.0f, 1.0f, 0.0f); angle += 0.5f; diff --git a/Source/Examples/OpenTK/GLControl/SimpleGLControl.cs b/Source/Examples/OpenTK/GLControl/SimpleGLControl.cs index ad23db0d..cbb2d1d5 100644 --- a/Source/Examples/OpenTK/GLControl/SimpleGLControl.cs +++ b/Source/Examples/OpenTK/GLControl/SimpleGLControl.cs @@ -15,7 +15,7 @@ using System.Text; using System.Windows.Forms; using OpenTK; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; #endregion diff --git a/Source/Examples/OpenTK/GameWindow/FullscreenAntialias.cs b/Source/Examples/OpenTK/GameWindow/FullscreenAntialias.cs index 41f19096..3c5f7ddb 100644 --- a/Source/Examples/OpenTK/GameWindow/FullscreenAntialias.cs +++ b/Source/Examples/OpenTK/GameWindow/FullscreenAntialias.cs @@ -31,6 +31,7 @@ using System.Text; using OpenTK; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Input; using System.Drawing; diff --git a/Source/Examples/OpenTK/GameWindow/SimpleWindow.cs b/Source/Examples/OpenTK/GameWindow/SimpleWindow.cs index ecd157c9..776d6cba 100644 --- a/Source/Examples/OpenTK/GameWindow/SimpleWindow.cs +++ b/Source/Examples/OpenTK/GameWindow/SimpleWindow.cs @@ -11,7 +11,7 @@ using System.Drawing; using System.Diagnostics; using OpenTK; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Input; namespace Examples.Tutorial diff --git a/Source/Examples/OpenTK/Test/Color4Serialization.cs b/Source/Examples/OpenTK/Test/Color4Serialization.cs index e3a71696..33db76b5 100644 --- a/Source/Examples/OpenTK/Test/Color4Serialization.cs +++ b/Source/Examples/OpenTK/Test/Color4Serialization.cs @@ -28,6 +28,8 @@ using System; using System.IO; using System.Xml.Serialization; + +using OpenTK; using OpenTK.Graphics; namespace Examples.Tests diff --git a/Source/Examples/OpenTK/Test/Extensions.cs b/Source/Examples/OpenTK/Test/Extensions.cs index 9444896d..92d43c1a 100644 --- a/Source/Examples/OpenTK/Test/Extensions.cs +++ b/Source/Examples/OpenTK/Test/Extensions.cs @@ -15,9 +15,8 @@ using System.Threading; using System.Reflection; using OpenTK; -using OpenTK.Graphics.OpenGL; -using OpenTK.Graphics.OpenGL.Enums; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using System.Text.RegularExpressions; namespace Examples.WinForms diff --git a/Source/Examples/OpenTK/Test/GameWindowStates.cs b/Source/Examples/OpenTK/Test/GameWindowStates.cs index 20f5ca49..a20592db 100644 --- a/Source/Examples/OpenTK/Test/GameWindowStates.cs +++ b/Source/Examples/OpenTK/Test/GameWindowStates.cs @@ -13,6 +13,7 @@ using System.Threading; using OpenTK; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Input; namespace Examples.Tests @@ -23,41 +24,6 @@ namespace Examples.Tests Font font = new Font(FontFamily.GenericSansSerif, 16.0f); TextPrinter printer = new TextPrinter(); - #region GetNext and GetPrevious methods for enums. - - T GetNext(T t) - { - if (!(t is Enum)) - throw new ArgumentException(String.Format("Should be an Enum type (is {0}).", t.GetType().ToString()), "t"); - - string[] names = Enum.GetNames(t.GetType()); - T[] values = (T[])Enum.GetValues(t.GetType()); - - int current_index = Array.IndexOf(names, t.ToString()); - if (current_index >= values.Length - 1) - return values[0]; - else - return values[current_index + 1]; - - } - - T GetPrevious(T t) - { - if (!(t is Enum)) - throw new ArgumentException(String.Format("Should be an Enum type (is {0}).", t.GetType().ToString()), "t"); - - string[] names = Enum.GetNames(t.GetType()); - T[] values = (T[])Enum.GetValues(t.GetType()); - - int current_index = Array.IndexOf(names, t.ToString()); - if (current_index <= 0) - return values[values.Length - 1]; - else - return values[current_index - 1]; - } - - #endregion - public GameWindowStates() : base(800, 600) { @@ -76,35 +42,27 @@ namespace Examples.Tests this.Exit(); break; - case OpenTK.Input.Key.Number1: - - if (sender[Key.ShiftLeft] || sender[Key.ShiftRight]) - WindowState = GetPrevious(WindowState); - else if (sender[Key.AltLeft] || sender[Key.AltRight]) - WindowState = GetNext(GetNext(WindowState)); - else if (sender[Key.ControlLeft] || sender[Key.ControlRight]) - WindowState = GetPrevious(GetPrevious(WindowState)); - else - WindowState = GetNext(WindowState); - + case Key.Number1: + WindowState = WindowState.Normal; + break; + case Key.Number2: + WindowState = WindowState.Maximized; + break; + case Key.Number3: + WindowState = WindowState.Fullscreen; + break; + case Key.Number4: + WindowState = WindowState.Minimized; break; - case OpenTK.Input.Key.Number2: - - if (sender[Key.ShiftLeft] || sender[Key.ShiftRight]) - WindowBorder = GetPrevious(WindowBorder); - else - WindowBorder = GetNext(WindowBorder); - + case Key.Number5: + WindowBorder = WindowBorder.Resizable; break; - - case OpenTK.Input.Key.Number3: - - if (this.WindowState == WindowState.Fullscreen) - this.WindowState = WindowState.Normal; - else - this.WindowState = WindowState.Fullscreen; - + case Key.Number6: + WindowBorder = WindowBorder.Fixed; + break; + case Key.Number7: + WindowBorder = WindowBorder.Hidden; break; } } @@ -122,13 +80,9 @@ namespace Examples.Tests printer.Print("Instructions:", font, Color.White); GL.Translate(0, font.Height, 0); - printer.Print(String.Format("1 - cycle through window styles (current: {0}).", this.WindowState), font, Color.White, RectangleF.Empty); + printer.Print(String.Format("[1 - 4]: change WindowState (current: {0}).", this.WindowState), font, Color.White, RectangleF.Empty); GL.Translate(0, font.Height, 0); - printer.Print(String.Format("2 - cycle through window borders (current: {0}).", this.WindowBorder), font, Color.White, RectangleF.Empty); - GL.Translate(0, font.Height, 0); - printer.Print(String.Format("3 - toggle fullscreen (current: {0}).", - this.WindowState == WindowState.Fullscreen ? "enabled" : "disabled"), font, Color.White, RectangleF.Empty); - + printer.Print(String.Format("[5 - 7]: change WindowBorder (current: {0}).", this.WindowBorder), font, Color.White, RectangleF.Empty); printer.End(); diff --git a/Source/Examples/OpenTK/Test/S01_Call_Performance.cs b/Source/Examples/OpenTK/Test/S01_Call_Performance.cs deleted file mode 100644 index 89dcf73e..00000000 --- a/Source/Examples/OpenTK/Test/S01_Call_Performance.cs +++ /dev/null @@ -1,169 +0,0 @@ -#region --- License --- -/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos - * See license.txt for license info - */ -#endregion - -using System; -using System.Text; -using System.Threading; -using System.Runtime.InteropServices; -using System.Diagnostics; -using System.Windows.Forms; -using System.Security; - -using OpenTK.Graphics.OpenGL; -using OpenTK.Graphics.OpenGL.Enums; -using OpenTK.Graphics; - -namespace Examples.Tests -{ - // This test is obsolete. - public class S01_Call_Performance - { - const int num_calls = 1000000; - float[] v = new float[] { 0.0f, 0.0f }; - public static int dummy_variable = 0; - - public void Launch() - { - using (OpenTK.GLControl control = new OpenTK.GLControl(GraphicsMode.Default)) - { - Trace.WriteLine(String.Format("Number of calls: {0}", num_calls)); - - Stopwatch timer = new Stopwatch(); - - #region Managed functions - - Trace.Write("Timing empty loop: "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - Trace.Write("Timing inline .Net functions: "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - InlineFunction(); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - Trace.Write("Timing virtual .Net functions: "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - VirtualFunction(); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - #endregion - - #region OpenTK.Graphics.OpenGL - - Trace.Write("Timing OpenTK.Graphics.OpenGL core functions: "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - GL.Vertex2(0.0f, 0.0f); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - Trace.Write("Timing OpenTK.Graphics.OpenGL core functions (array): "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - GL.Vertex2(v); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - Trace.Write("Timing OpenTK.Graphics.OpenGL core functions (void*): "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - GL.CallLists(v.Length, ListNameType.Float, v); - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - Trace.Write("Timing OpenTK.Graphics.OpenGL extension functions: "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - GL.ActiveTexture(TextureUnit.Texture0); - - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - #endregion - - #region DllImports - - Trace.Write("Timing direct DllImport: "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - glVertex2f(0.0f, 0.0f); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - Trace.Write("Timing direct DllImport (array): "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - glVertex2fv(v); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - GL.GenLists(1); - Trace.Write("Timing direct DllImport (void*): "); - timer.Start(); - for (int i = 0; ++i < num_calls; ) - { - glCallLists(v.Length, ListNameType.Float, v); - } - timer.Stop(); - Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls))); - timer.Reset(); - - #endregion - } - } - - public static readonly int order = 1; - - public void InlineFunction() - { - ++dummy_variable; - } - - public virtual void VirtualFunction() - { - ++dummy_variable; - } - - [DllImport("opengl32.dll", EntryPoint = "glVertex2f"), SuppressUnmanagedCodeSecurity] - extern static void glVertex2f(float a, float b); - - [DllImport("opengl32.dll", EntryPoint = "glVertex2fv"), SuppressUnmanagedCodeSecurity] - extern static void glVertex2fv(float[] v); - - [DllImport("opengl32.dll", EntryPoint = "glCallLists"), SuppressUnmanagedCodeSecurity] - extern static void glCallLists(int count, ListNameType type, object lists); - - } -} diff --git a/Source/Examples/OpenTK/Test/TestResolutionChanges.cs b/Source/Examples/OpenTK/Test/TestResolutionChanges.cs index 1192747b..35820bba 100644 --- a/Source/Examples/OpenTK/Test/TestResolutionChanges.cs +++ b/Source/Examples/OpenTK/Test/TestResolutionChanges.cs @@ -11,10 +11,10 @@ using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Diagnostics; - -using OpenTK.Graphics; using System.Threading; +using OpenTK; + namespace Examples.Tests { [Example("Test Resolution Changes", ExampleCategory.OpenTK, "Test", Documentation="TestResolutionChanges")] diff --git a/Source/Examples/Properties/Resources.Designer.cs b/Source/Examples/Properties/Resources.Designer.cs index 7fea7079..2ba91611 100644 --- a/Source/Examples/Properties/Resources.Designer.cs +++ b/Source/Examples/Properties/Resources.Designer.cs @@ -135,12 +135,13 @@ namespace Examples.Properties { ///using System.Reflection; /// ///using OpenTK; - ///using OpenTK.Graphics.OpenGL; - ///using OpenTK.Graphics.OpenGL.Enums; ///using OpenTK.Graphics; + ///using OpenTK.Graphics.OpenGL; ///using System.Text.RegularExpressions; /// - ///names [rest of string was truncated]";. + ///namespace Examples.WinForms + ///{ + /// [Examp [rest of string was truncated]";. /// internal static string Extensions { get { @@ -609,34 +610,6 @@ namespace Examples.Properties { } } - /// - /// Looks up a localized string similar to #region --- License --- - ////* Licensed under the MIT/X11 license. - /// * Copyright (c) 2006-2008 the OpenTK Team. - /// * This notice may not be removed from any source distribution. - /// * See license.txt for licensing details. - /// */ - ///#endregion - /// - ///using System; - ///using System.Diagnostics; - ///using System.Runtime.InteropServices; - /// - ///using OpenTK; - ///using OpenTK.Graphics; - ///using OpenTK.Input; - /// - ///namespace Examples - ///{ - /// [Example("GLU Tesselation Functions Test", ExampleCategory.OpenGL, "GLU", Visible = false)] - /// public [rest of string was truncated]";. - /// - internal static string Tessellation { - get { - return ResourceManager.GetString("Tessellation", resourceCulture); - } - } - /// /// Looks up a localized string similar to #region --- License --- ////* Licensed under the MIT/X11 license. @@ -681,13 +654,13 @@ namespace Examples.Properties { ///using System.Text; ///using System.Windows.Forms; ///using System.Diagnostics; - /// - ///using OpenTK.Graphics; ///using System.Threading; /// + ///using OpenTK; + /// ///namespace Examples.Tests ///{ - /// [Example("Test Resolution Changes", ExampleCategory.OpenTK, "Test", Docum [rest of string was truncated]";. + /// [Example("Test Resolution Changes", ExampleCategory.OpenTK, "Test", Documentation= [rest of string was truncated]";. /// internal static string TestResolutionChanges { get { @@ -714,12 +687,13 @@ namespace Examples.Properties { ///using OpenTK; ///using OpenTK.Graphics.OpenGL; ///using OpenTK.Graphics; - ///using OpenTK.Graphics.OpenGL.Enums; /// ///namespace Examples.Tutorial ///{ /// /// <summary> - /// /// Demonstrates simple OpenGL Texturing. [rest of string was truncated]";. + /// /// Demonstrates simple OpenGL Texturing. + /// /// </summary> + /// [Example("T [rest of string was truncated]";. /// internal static string Textures { get { @@ -741,16 +715,15 @@ namespace Examples.Properties { ///using System.Threading; /// ///using OpenTK; - ///using OpenTK.Graphics.OpenGL; ///using System.Diagnostics; ///using OpenTK.Input; ///using OpenTK.Graphics; - ///using OpenTK.Graphics.OpenGL.Enums; + ///using OpenTK.Graphics.OpenGL; /// ///namespace Examples.Tutorial ///{ /// /// <summary> - /// /// Demonstrates Vertex Arrays (in system memo [rest of string was truncated]";. + /// /// Demonstrates Vertex Arrays (in system memory). Example is incomplete (document [rest of string was truncated]";. /// internal static string VertexArrays { get { diff --git a/Source/Examples/Properties/Resources.resx b/Source/Examples/Properties/Resources.resx index eee696cd..4eb44aaf 100644 --- a/Source/Examples/Properties/Resources.resx +++ b/Source/Examples/Properties/Resources.resx @@ -178,9 +178,6 @@ ..\OpenAL\1.1\StreamingPlayback.cs;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 - - ..\OpenGL\GLU\Tessellation.cs;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 - ..\OpenAL\Test\TestAudioContext.cs;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 diff --git a/Source/OpenTK/Graphics/DisplayDevice.cs b/Source/OpenTK/DisplayDevice.cs similarity index 97% rename from Source/OpenTK/Graphics/DisplayDevice.cs rename to Source/OpenTK/DisplayDevice.cs index d69bb1f0..28c946c3 100644 --- a/Source/OpenTK/Graphics/DisplayDevice.cs +++ b/Source/OpenTK/DisplayDevice.cs @@ -13,7 +13,7 @@ using System.Diagnostics; using System.Threading; using System.Drawing; -namespace OpenTK.Graphics +namespace OpenTK { /// /// Defines a display device on the underlying system, and provides @@ -38,7 +38,7 @@ namespace OpenTK.Graphics static DisplayDevice primary_display; //static FadeEffect effect = new FadeEffect(); - static IDisplayDeviceDriver implementation; + static Platform.IDisplayDeviceDriver implementation; #endregion @@ -196,7 +196,7 @@ namespace OpenTK.Graphics original_resolution = current_resolution; current_resolution = resolution; } - else throw new GraphicsModeException(String.Format("Device {0}: Failed to change resolution to {1}.", + else throw new Graphics.GraphicsModeException(String.Format("Device {0}: Failed to change resolution to {1}.", this, resolution)); //effect.FadeIn(); @@ -234,7 +234,7 @@ namespace OpenTK.Graphics current_resolution = original_resolution; original_resolution = null; } - else throw new GraphicsModeException(String.Format("Device {0}: Failed to restore resolution.", this)); + else throw new Graphics.GraphicsModeException(String.Format("Device {0}: Failed to restore resolution.", this)); //effect.FadeIn(); } diff --git a/Source/OpenTK/Graphics/DisplayResolution.cs b/Source/OpenTK/DisplayResolution.cs similarity index 99% rename from Source/OpenTK/Graphics/DisplayResolution.cs rename to Source/OpenTK/DisplayResolution.cs index 862dc00d..76a5ddb2 100644 --- a/Source/OpenTK/Graphics/DisplayResolution.cs +++ b/Source/OpenTK/DisplayResolution.cs @@ -12,7 +12,7 @@ using System.Text; using System.Diagnostics; using System.Drawing; -namespace OpenTK.Graphics +namespace OpenTK { /// Contains information regarding a monitor's display resolution. public class DisplayResolution diff --git a/Source/OpenTK/GLControl.cs b/Source/OpenTK/GLControl.cs index 59420f1f..5f66bc59 100644 --- a/Source/OpenTK/GLControl.cs +++ b/Source/OpenTK/GLControl.cs @@ -16,7 +16,6 @@ using System.Windows.Forms; using OpenTK.Platform; using OpenTK.Graphics; -using OpenTK.Graphics.OpenGL; using System.Diagnostics; namespace OpenTK @@ -270,17 +269,19 @@ namespace OpenTK /// /// Occurs when no OpenTK.Graphics.GraphicsContext is current in the calling thread. /// + [Obsolete] public Bitmap GrabScreenshot() { - Bitmap bmp = new Bitmap(this.ClientSize.Width, this.ClientSize.Height); - System.Drawing.Imaging.BitmapData data = - bmp.LockBits(this.ClientRectangle, System.Drawing.Imaging.ImageLockMode.WriteOnly, - System.Drawing.Imaging.PixelFormat.Format24bppRgb); - GL.ReadPixels(0, 0, this.ClientSize.Width, this.ClientSize.Height, PixelFormat.Bgr, PixelType.UnsignedByte, - data.Scan0); - bmp.UnlockBits(data); - bmp.RotateFlip(RotateFlipType.RotateNoneFlipY); - return bmp; + throw new NotImplementedException(); + //Bitmap bmp = new Bitmap(this.ClientSize.Width, this.ClientSize.Height); + //System.Drawing.Imaging.BitmapData data = + // bmp.LockBits(this.ClientRectangle, System.Drawing.Imaging.ImageLockMode.WriteOnly, + // System.Drawing.Imaging.PixelFormat.Format24bppRgb); + //GL.ReadPixels(0, 0, this.ClientSize.Width, this.ClientSize.Height, PixelFormat.Bgr, PixelType.UnsignedByte, + // data.Scan0); + //bmp.UnlockBits(data); + //bmp.RotateFlip(RotateFlipType.RotateNoneFlipY); + //return bmp; } #endregion diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 9ec7fcba..1fc3af41 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -824,12 +824,6 @@ namespace OpenTK /// private void OnLoadInternal(EventArgs e) { - Debug.Print("{0}.Load", this.GetType().Name); - Debug.WriteLine(String.Format("OpenGL driver information: {0}, {1}, {2}", - GL.GetString(StringName.Renderer), - GL.GetString(StringName.Vendor), - GL.GetString(StringName.Version))); - OnResizeInternal(EventArgs.Empty); Load(this, e); OnLoad(e); diff --git a/Source/OpenTK/Graphics/ES10/ErrorHelper.cs b/Source/OpenTK/Graphics/ES10/ErrorHelper.cs new file mode 100644 index 00000000..d94dcbad --- /dev/null +++ b/Source/OpenTK/Graphics/ES10/ErrorHelper.cs @@ -0,0 +1,134 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +using System.Text; +using System.Diagnostics; + +namespace OpenTK.Graphics.ES10 +{ + // Used in debug-mode only, for automatic OpenGL error-checking. + // + // Works like this: an instance is created before each OpenGL function is called. + // The constructor resets the OpenGL error state. Once the native function returns, + // the error state is checked again, raising the relevant exceptions. + // + // A using-region is used to ensure Dispose() is called. + // + // Make sure that no error checking is added to the GetError function, + // as that would cause infinite recursion! + struct ErrorHelper : IDisposable + { + #region Fields + + static readonly object SyncRoot = new object(); + static readonly Dictionary> ContextErrors = + new Dictionary>(); + readonly GraphicsContext Context; + + #endregion + + #region Constructors + + public ErrorHelper(IGraphicsContext context) + { + if (context == null) + throw new GraphicsContextMissingException(); + + Context = (GraphicsContext)context; + lock (SyncRoot) + { + if (!ContextErrors.ContainsKey(Context)) + ContextErrors.Add(Context, new List()); + } + ResetErrors(); + } + + #endregion + + #region Public Members + + // Retrieve all OpenGL errors to clear the error list. + // See http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html + [Conditional("DEBUG")] + internal void ResetErrors() + { + if (Context.ErrorChecking) + { + while ((ErrorCode)ES.GetError() != ErrorCode.NoError) + { } + } + } + + // Retrieve all OpenGL errors and throw an exception if anything other than NoError is returned. + [Conditional("DEBUG")] + internal void CheckErrors() + { + if (Context.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = (ErrorCode)ES.GetError(); + error_list.Add(error); + } while (error != ErrorCode.NoError); + + if (error_list.Count != 1) + { + StringBuilder sb = new StringBuilder(); + foreach (ErrorCode e in error_list) + { + if (e != ErrorCode.NoError) + { + sb.Append(e.ToString()); + sb.Append(", "); + } + else + break; + } + sb.Remove(sb.Length - 2, 2); // Remove the last comma + + throw new GraphicsErrorException(sb.ToString()); + } + } + } + + #endregion + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/Source/OpenTK/Graphics/ES11/ErrorHelper.cs b/Source/OpenTK/Graphics/ES11/ErrorHelper.cs new file mode 100644 index 00000000..26446a7a --- /dev/null +++ b/Source/OpenTK/Graphics/ES11/ErrorHelper.cs @@ -0,0 +1,134 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +using System.Text; +using System.Diagnostics; + +namespace OpenTK.Graphics.ES11 +{ + // Used in debug-mode only, for automatic OpenGL error-checking. + // + // Works like this: an instance is created before each OpenGL function is called. + // The constructor resets the OpenGL error state. Once the native function returns, + // the error state is checked again, raising the relevant exceptions. + // + // A using-region is used to ensure Dispose() is called. + // + // Make sure that no error checking is added to the GetError function, + // as that would cause infinite recursion! + struct ErrorHelper : IDisposable + { + #region Fields + + static readonly object SyncRoot = new object(); + static readonly Dictionary> ContextErrors = + new Dictionary>(); + readonly GraphicsContext Context; + + #endregion + + #region Constructors + + public ErrorHelper(IGraphicsContext context) + { + if (context == null) + throw new GraphicsContextMissingException(); + + Context = (GraphicsContext)context; + lock (SyncRoot) + { + if (!ContextErrors.ContainsKey(Context)) + ContextErrors.Add(Context, new List()); + } + ResetErrors(); + } + + #endregion + + #region Public Members + + // Retrieve all OpenGL errors to clear the error list. + // See http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html + [Conditional("DEBUG")] + internal void ResetErrors() + { + if (Context.ErrorChecking) + { + while ((ErrorCode)ES.GetError() != ErrorCode.NoError) + { } + } + } + + // Retrieve all OpenGL errors and throw an exception if anything other than NoError is returned. + [Conditional("DEBUG")] + internal void CheckErrors() + { + if (Context.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = (ErrorCode)ES.GetError(); + error_list.Add(error); + } while (error != ErrorCode.NoError); + + if (error_list.Count != 1) + { + StringBuilder sb = new StringBuilder(); + foreach (ErrorCode e in error_list) + { + if (e != ErrorCode.NoError) + { + sb.Append(e.ToString()); + sb.Append(", "); + } + else + break; + } + sb.Remove(sb.Length - 2, 2); // Remove the last comma + + throw new GraphicsErrorException(sb.ToString()); + } + } + } + + #endregion + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/Source/OpenTK/Graphics/ES20/ErrorHelper.cs b/Source/OpenTK/Graphics/ES20/ErrorHelper.cs new file mode 100644 index 00000000..c0e4bb37 --- /dev/null +++ b/Source/OpenTK/Graphics/ES20/ErrorHelper.cs @@ -0,0 +1,134 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +using System.Text; +using System.Diagnostics; + +namespace OpenTK.Graphics.ES20 +{ + // Used in debug-mode only, for automatic OpenGL error-checking. + // + // Works like this: an instance is created before each OpenGL function is called. + // The constructor resets the OpenGL error state. Once the native function returns, + // the error state is checked again, raising the relevant exceptions. + // + // A using-region is used to ensure Dispose() is called. + // + // Make sure that no error checking is added to the GetError function, + // as that would cause infinite recursion! + struct ErrorHelper : IDisposable + { + #region Fields + + static readonly object SyncRoot = new object(); + static readonly Dictionary> ContextErrors = + new Dictionary>(); + readonly GraphicsContext Context; + + #endregion + + #region Constructors + + public ErrorHelper(IGraphicsContext context) + { + if (context == null) + throw new GraphicsContextMissingException(); + + Context = (GraphicsContext)context; + lock (SyncRoot) + { + if (!ContextErrors.ContainsKey(Context)) + ContextErrors.Add(Context, new List()); + } + ResetErrors(); + } + + #endregion + + #region Public Members + + // Retrieve all OpenGL errors to clear the error list. + // See http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html + [Conditional("DEBUG")] + internal void ResetErrors() + { + if (Context.ErrorChecking) + { + while ((ErrorCode)ES.GetError() != ErrorCode.NoError) + { } + } + } + + // Retrieve all OpenGL errors and throw an exception if anything other than NoError is returned. + [Conditional("DEBUG")] + internal void CheckErrors() + { + if (Context.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = (ErrorCode)ES.GetError(); + error_list.Add(error); + } while (error != ErrorCode.NoError); + + if (error_list.Count != 1) + { + StringBuilder sb = new StringBuilder(); + foreach (ErrorCode e in error_list) + { + if (e != ErrorCode.NoError) + { + sb.Append(e.ToString()); + sb.Append(", "); + } + else + break; + } + sb.Remove(sb.Length - 2, 2); // Remove the last comma + + throw new GraphicsErrorException(sb.ToString()); + } + } + } + + #endregion + + #region IDisposable Members + + public void Dispose() + { + CheckErrors(); + } + + #endregion + } +} diff --git a/Source/OpenTK/Graphics/GL/ErrorHelper.cs b/Source/OpenTK/Graphics/GL/ErrorHelper.cs index a9947c25..327c3d28 100644 --- a/Source/OpenTK/Graphics/GL/ErrorHelper.cs +++ b/Source/OpenTK/Graphics/GL/ErrorHelper.cs @@ -28,8 +28,9 @@ using System; using System.Collections.Generic; using System.Text; +using System.Diagnostics; -namespace OpenTK.Graphics +namespace OpenTK.Graphics.OpenGL { // Used in debug-mode only, for automatic OpenGL error-checking. // @@ -45,6 +46,9 @@ namespace OpenTK.Graphics { #region Fields + static readonly object SyncRoot = new object(); + static readonly Dictionary> ContextErrors = + new Dictionary>(); readonly GraphicsContext Context; #endregion @@ -57,7 +61,63 @@ namespace OpenTK.Graphics throw new GraphicsContextMissingException(); Context = (GraphicsContext)context; - Context.ResetErrors(); + lock (SyncRoot) + { + if (!ContextErrors.ContainsKey(Context)) + ContextErrors.Add(Context, new List()); + } + ResetErrors(); + } + + #endregion + + #region Public Members + + // Retrieve all OpenGL errors to clear the error list. + // See http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html + [Conditional("DEBUG")] + internal void ResetErrors() + { + if (Context.ErrorChecking) + { + while (GL.GetError() != ErrorCode.NoError) + { } + } + } + + // Retrieve all OpenGL errors and throw an exception if anything other than NoError is returned. + [Conditional("DEBUG")] + internal void CheckErrors() + { + if (Context.ErrorChecking) + { + List error_list = ContextErrors[Context]; + error_list.Clear(); + ErrorCode error; + do + { + error = GL.GetError(); + error_list.Add(error); + } while (error != ErrorCode.NoError); + + if (error_list.Count != 1) + { + StringBuilder sb = new StringBuilder(); + foreach (ErrorCode e in error_list) + { + if (e != ErrorCode.NoError) + { + sb.Append(e.ToString()); + sb.Append(", "); + } + else + break; + } + sb.Remove(sb.Length - 2, 2); // Remove the last comma + + throw new GraphicsErrorException(sb.ToString()); + } + } } #endregion @@ -66,7 +126,7 @@ namespace OpenTK.Graphics public void Dispose() { - Context.CheckErrors(); + CheckErrors(); } #endregion diff --git a/Source/OpenTK/Graphics/GL/GL.cs b/Source/OpenTK/Graphics/GL/GL.cs index e95b98bf..81e690ab 100644 --- a/Source/OpenTK/Graphics/GL/GL.cs +++ b/Source/OpenTK/Graphics/GL/GL.cs @@ -25,7 +25,7 @@ // #endregion -namespace OpenTK.Graphics +namespace OpenTK.Graphics.OpenGL { using System; using System.Runtime.InteropServices; @@ -101,30 +101,44 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")] public static - void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode) + void BlendEquationIndexed(Int32 buf, AmdDrawBuffersBlend mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)mode); + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)mode); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")] public static - void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode) + void BlendEquationIndexed(UInt32 buf, AmdDrawBuffersBlend mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)mode); + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] + public static + void BlendEquationSeparateIndexed(Int32 buf, AmdDrawBuffersBlend modeRGB, AmdDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)modeRGB, (AmdDrawBuffersBlend)modeAlpha); #if DEBUG } #endif @@ -133,27 +147,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] public static - void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha) + void BlendEquationSeparateIndexed(UInt32 buf, AmdDrawBuffersBlend modeRGB, AmdDrawBuffersBlend modeAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)modeAlpha); + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)modeRGB, (AmdDrawBuffersBlend)modeAlpha); #if DEBUG } #endif } - [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] public static - void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha) + void BlendFuncIndexed(Int32 buf, AmdDrawBuffersBlend src, AmdDrawBuffersBlend dst) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)modeAlpha); + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)src, (AmdDrawBuffersBlend)dst); #if DEBUG } #endif @@ -162,27 +176,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] public static - void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst) + void BlendFuncIndexed(UInt32 buf, AmdDrawBuffersBlend src, AmdDrawBuffersBlend dst) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)src, (OpenTK.Graphics.AmdDrawBuffersBlend)dst); + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)src, (AmdDrawBuffersBlend)dst); #if DEBUG } #endif } - [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] public static - void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst) + void BlendFuncSeparateIndexed(Int32 buf, AmdDrawBuffersBlend srcRGB, AmdDrawBuffersBlend dstRGB, AmdDrawBuffersBlend srcAlpha, AmdDrawBuffersBlend dstAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)src, (OpenTK.Graphics.AmdDrawBuffersBlend)dst); + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)srcRGB, (AmdDrawBuffersBlend)dstRGB, (AmdDrawBuffersBlend)srcAlpha, (AmdDrawBuffersBlend)dstAlpha); #if DEBUG } #endif @@ -191,27 +205,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] public static - void BlendFuncSeparateIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha) + void BlendFuncSeparateIndexed(UInt32 buf, AmdDrawBuffersBlend srcRGB, AmdDrawBuffersBlend dstRGB, AmdDrawBuffersBlend srcAlpha, AmdDrawBuffersBlend dstAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.AmdDrawBuffersBlend)dstAlpha); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] - public static - void BlendFuncSeparateIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.AmdDrawBuffersBlend)dstAlpha); + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (AmdDrawBuffersBlend)srcRGB, (AmdDrawBuffersBlend)dstRGB, (AmdDrawBuffersBlend)srcAlpha, (AmdDrawBuffersBlend)dstAlpha); #if DEBUG } #endif @@ -220,7 +220,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] public static - void DeletePerfMonitors(Int32 n, [Out] out UInt32 monitors) + unsafe void DeletePerfMonitors(Int32 n, [Out] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [Out] Int32[] monitors) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -228,10 +242,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* monitors_ptr = &monitors) + fixed (Int32* monitors_ptr = monitors) { Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; } } #if DEBUG @@ -260,9 +273,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] public static - void DeletePerfMonitors(Int32 n, [Out] Int32[] monitors) + void DeletePerfMonitors(Int32 n, [Out] out UInt32 monitors) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -270,9 +284,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* monitors_ptr = monitors) + fixed (UInt32* monitors_ptr = &monitors) { Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; } } #if DEBUG @@ -280,6 +295,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, [Out] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] public static @@ -301,36 +331,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, [Out] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitors(Int32 n, [Out] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] public static void EndPerfMonitor(Int32 monitor) @@ -363,20 +363,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] public static - void GenPerfMonitors(Int32 n, [Out] out UInt32 monitors) + unsafe void GenPerfMonitors(Int32 n, [Out] Int32* monitors) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); #if DEBUG } #endif @@ -402,57 +395,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitors(Int32 n, [Out] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [Out] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitors(Int32 n, [Out] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] public static void GenPerfMonitors(Int32 n, [Out] out Int32 monitors) @@ -475,17 +417,57 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten) + void GenPerfMonitors(Int32 n, [Out] out UInt32 monitors) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Int32* data_ptr = data) + unsafe { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [Out] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [Out] UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } } #if DEBUG } @@ -495,21 +477,30 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] public static - void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten) + unsafe void GetPerfMonitorCounterData(Int32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(Int32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - fixed (UInt32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } + #endif + fixed (Int32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); } #if DEBUG } @@ -518,7 +509,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] public static - void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten) + void GetPerfMonitorCounterData(Int32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -529,7 +520,7 @@ namespace OpenTK.Graphics fixed (Int32* data_ptr = &data) fixed (Int32* bytesWritten_ptr = &bytesWritten) { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); data = *data_ptr; bytesWritten = *bytesWritten_ptr; } @@ -542,13 +533,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] public static - unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten) + void GetPerfMonitorCounterData(UInt32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + unsafe + { + fixed (UInt32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } #if DEBUG } #endif @@ -557,13 +557,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] public static - unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten) + unsafe void GetPerfMonitorCounterData(UInt32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); #if DEBUG } #endif @@ -572,7 +572,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] public static - unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten) + unsafe void GetPerfMonitorCounterData(UInt32 monitor, AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -580,7 +580,7 @@ namespace OpenTK.Graphics #endif fixed (UInt32* data_ptr = data) { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); } #if DEBUG } @@ -589,37 +589,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -629,7 +599,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -642,7 +612,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -652,7 +622,91 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, AmdPerformanceMonitor pname, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -666,7 +720,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -676,30 +730,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -713,7 +744,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -723,30 +754,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -760,7 +768,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] public static - void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -770,7 +778,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -781,24 +789,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] public static - void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) - where T3 : struct + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, AmdPerformanceMonitor pname, [Out] IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (AmdPerformanceMonitor)pname, (IntPtr)data); #if DEBUG } #endif @@ -822,38 +822,15 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] public static - unsafe void GetPerfMonitorCounters(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters) + unsafe void GetPerfMonitorCounters(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCounters(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + fixed (Int32* counters_ptr = counters) { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); } #if DEBUG } @@ -888,16 +865,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] public static - unsafe void GetPerfMonitorCounters(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters) + unsafe void GetPerfMonitorCounters(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); #if DEBUG } #endif @@ -921,10 +895,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (UInt32* counters_ptr = &counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); + numCounters = *numCounters_ptr; + maxActiveCounters = *maxActiveCounters_ptr; + counters = *counters_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] public static - unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -957,6 +957,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] public static @@ -980,15 +995,33 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] public static - unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); + } #if DEBUG } #endif @@ -1009,6 +1042,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] public static void GetPerfMonitorGroup([Out] out Int32 numGroups, Int32 groupsSize, [Out] out Int32 groups) @@ -1056,74 +1107,16 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] public static - void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) + unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); - length = *length_ptr; - } - } + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); #if DEBUG } #endif @@ -1168,13 +1161,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] public static - unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) + void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); + length = *length_ptr; + } + } #if DEBUG } #endif @@ -1183,7 +1183,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList) + unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1191,10 +1205,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* counterList_ptr = &counterList) + fixed (Int32* counterList_ptr = counterList) { Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; } } #if DEBUG @@ -1226,7 +1239,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] public static - void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList) + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1234,9 +1247,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* counterList_ptr = counterList) + fixed (UInt32* counterList_ptr = &counterList) { Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + counterList = *counterList_ptr; } } #if DEBUG @@ -1244,41 +1258,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] public static @@ -1294,6 +1273,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* counterList_ptr = counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")] public static void TessellationFactor(Single factor) @@ -1310,13 +1310,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")] public static - void TessellationMode(OpenTK.Graphics.AmdVertexShaderTesselator mode) + void TessellationMode(AmdVertexShaderTesselator mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTessellationModeAMD((OpenTK.Graphics.AmdVertexShaderTesselator)mode); + Delegates.glTessellationModeAMD((AmdVertexShaderTesselator)mode); #if DEBUG } #endif @@ -1326,6 +1326,20 @@ namespace OpenTK.Graphics public static partial class Apple { + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] + public static + void BindVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArrayAPPLE((UInt32)array); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] public static @@ -1341,29 +1355,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] + [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")] public static - void BindVertexArray(Int32 array) + void BufferParameter(BufferTarget target, BufferParameterApple pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindVertexArrayAPPLE((UInt32)array); + Delegates.glBufferParameteriAPPLE((BufferTarget)target, (BufferParameterApple)pname, (Int32)param); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - void BufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterApple pname, Int32 param) + unsafe void DeleteFences(Int32 n, Int32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterApple)pname, (Int32)param); + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); #if DEBUG } #endif @@ -1389,10 +1404,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - void DeleteFences(Int32 n, UInt32[] fences) + void DeleteFences(Int32 n, ref Int32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1400,7 +1414,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* fences_ptr = fences) + fixed (Int32* fences_ptr = &fences) { Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); } @@ -1434,7 +1448,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - unsafe void DeleteFences(Int32 n, Int32* fences) + unsafe void DeleteFences(Int32 n, UInt32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1449,21 +1463,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, ref Int32 fences) + void DeleteFences(Int32 n, UInt32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1471,7 +1471,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* fences_ptr = &fences) + fixed (UInt32* fences_ptr = fences) { Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); } @@ -1481,6 +1481,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static void DeleteVertexArrays(Int32 n, ref Int32 arrays) @@ -1501,21 +1536,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static @@ -1537,6 +1557,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static @@ -1558,36 +1593,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) + void DisableVertexAttrib(Int32 index, AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname); #if DEBUG } #endif @@ -1596,27 +1610,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] public static - void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + void DisableVertexAttrib(UInt32 index, AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] - public static - void DisableVertexAttrib(Int32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname); #if DEBUG } #endif @@ -1624,13 +1624,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayAPPLE")] public static - void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) + void DrawElementArray(BeginMode mode, Int32 first, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); + Delegates.glDrawElementArrayAPPLE((BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); #if DEBUG } #endif @@ -1639,27 +1653,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) + void DrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] - public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + Delegates.glDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); #if DEBUG } #endif @@ -1667,7 +1667,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,,] pointer) + void ElementPointer(AppleElementArray type, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -1677,7 +1677,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -1690,7 +1690,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,] pointer) + void ElementPointer(AppleElementArray type, [In, Out] T1[,,] pointer) where T1 : struct { #if DEBUG @@ -1700,7 +1700,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -1713,7 +1713,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[] pointer) + void ElementPointer(AppleElementArray type, [In, Out] T1[,] pointer) where T1 : struct { #if DEBUG @@ -1723,7 +1723,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -1736,21 +1736,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] ref T1 pointer) + void ElementPointer(AppleElementArray type, [In, Out] T1[] pointer) where T1 : struct { #if DEBUG @@ -1760,7 +1746,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -1771,30 +1757,58 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(AppleElementArray type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glElementPointerAPPLE((AppleElementArray)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] + public static + void EnableVertexAttrib(Int32 index, AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] public static - void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + void EnableVertexAttrib(UInt32 index, AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")] public static - void EnableVertexAttrib(Int32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + void FinishFence(Int32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + Delegates.glFinishFenceAPPLE((UInt32)fence); #if DEBUG } #endif @@ -1815,29 +1829,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceAPPLE((UInt32)fence); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishObjectAPPLE")] public static - void FinishObject(OpenTK.Graphics.AppleFence @object, Int32 name) + void FinishObject(AppleFence @object, Int32 name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFinishObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (Int32)name); + Delegates.glFinishObjectAPPLE((AppleFence)@object, (Int32)name); #if DEBUG } #endif @@ -1845,27 +1845,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glFlushMappedBufferRangeAPPLE")] public static - void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size) + void FlushMappedBufferRange(BufferTarget target, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + Delegates.glFlushMappedBufferRangeAPPLE((BufferTarget)target, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif @@ -1894,29 +1880,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) @@ -1963,10 +1926,61 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - void GenFences(Int32 n, [Out] out UInt32 fences) + unsafe void GenFences(Int32 n, [Out] Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [Out] Int32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1974,10 +1988,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* fences_ptr = &fences) + fixed (Int32* fences_ptr = fences) { Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; } } #if DEBUG @@ -2009,7 +2022,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - void GenFences(Int32 n, [Out] UInt32[] fences) + void GenFences(Int32 n, [Out] out UInt32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2017,29 +2030,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [Out] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) + fixed (UInt32* fences_ptr = &fences) { Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; } } #if DEBUG @@ -2065,13 +2059,75 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) + void GenFences(Int32 n, [Out] UInt32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [Out] Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [Out] out Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } #if DEBUG } #endif @@ -2099,21 +2155,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] public static - void GenVertexArrays(Int32 n, [Out] Int32[] arrays) + unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); #if DEBUG } #endif @@ -2141,38 +2192,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) + unsafe void GetObjectParameter(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [Out] out Int32 arrays) + void GetObjectParameter(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2180,10 +2216,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* arrays_ptr = &arrays) + fixed (Int32* @params_ptr = @params) { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; + Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -2193,7 +2228,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] out Int32 @params) + void GetObjectParameter(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2203,7 +2238,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -2215,13 +2250,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - unsafe void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params) + unsafe void GetObjectParameter(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params); + Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params); #if DEBUG } #endif @@ -2230,22 +2265,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - unsafe void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32[] @params) + void GetObjectParameter(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2255,27 +2275,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] - public static - void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -2286,7 +2286,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] out Int32 @params) + void GetObjectParameter(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2296,7 +2296,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + Delegates.glGetObjectParameterivAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -2307,7 +2307,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] public static - void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] T2[] @params) + void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] ref T2 @params) where T2 : struct { #if DEBUG @@ -2317,7 +2317,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -2330,7 +2330,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] public static - void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] T2[,] @params) + void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] T2[,,] @params) where T2 : struct { #if DEBUG @@ -2340,7 +2340,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -2353,21 +2353,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] public static - void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] - public static - void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] ref T2 @params) + void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] T2[,] @params) where T2 : struct { #if DEBUG @@ -2377,7 +2363,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -2390,7 +2376,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] public static - void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] T2[,,] @params) + void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [In, Out] T2[] @params) where T2 : struct { #if DEBUG @@ -2400,7 +2386,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -2411,10 +2397,23 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(AppleTextureRange target, AppleTextureRange pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterPointervAPPLE((AppleTextureRange)target, (AppleTextureRange)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] public static - bool IsFence(UInt32 fence) + bool IsFence(Int32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2426,9 +2425,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] public static - bool IsFence(Int32 fence) + bool IsFence(UInt32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2469,30 +2469,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")] public static - bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + bool IsVertexAttribEnabled(Int32 index, AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")] public static - bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + bool IsVertexAttribEnabled(UInt32 index, AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (AppleVertexProgramEvaluators)pname); #if DEBUG } #endif @@ -2501,19 +2501,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); #if DEBUG } #endif @@ -2539,6 +2533,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] public static @@ -2563,36 +2592,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] public static - unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] - public static - void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2610,10 +2610,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2631,6 +2630,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] public static void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) @@ -2654,7 +2668,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] public static - void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2662,7 +2676,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = points) + fixed (Single* points_ptr = &points) { Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); } @@ -2672,21 +2686,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] - public static - unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] public static @@ -2702,9 +2701,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] public static - void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2712,7 +2712,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = &points) + fixed (Single* points_ptr = points) { Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); } @@ -2722,51 +2722,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] - public static - unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + unsafe void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2798,10 +2757,30 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] public static - unsafe void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2813,6 +2792,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] public static @@ -2834,63 +2834,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - unsafe void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] - public static - void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] public static void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) @@ -2914,7 +2857,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] public static - unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + unsafe void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2947,15 +2890,72 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] public static - unsafe void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount) + void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + unsafe void MultiDrawElementArray(BeginMode mode, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementArrayAPPLE((BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); #if DEBUG } #endif @@ -2963,7 +2963,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static - void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + void MultiDrawElementArray(BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2974,7 +2974,7 @@ namespace OpenTK.Graphics fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = count) { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMultiDrawElementArrayAPPLE((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); } } #if DEBUG @@ -2984,7 +2984,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static - void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) + void MultiDrawElementArray(BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2995,7 +2995,7 @@ namespace OpenTK.Graphics fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMultiDrawElementArrayAPPLE((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); } } #if DEBUG @@ -3006,44 +3006,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) + void MultiDrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -3054,7 +3031,7 @@ namespace OpenTK.Graphics fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = count) { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); } } #if DEBUG @@ -3064,28 +3041,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) + void MultiDrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -3096,7 +3052,7 @@ namespace OpenTK.Graphics fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); } } #if DEBUG @@ -3107,13 +3063,57 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glMultiDrawRangeElementArrayAPPLE((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(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((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(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((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } #if DEBUG } #endif @@ -3121,13 +3121,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")] public static - IntPtr ObjectPurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable option) + IntPtr ObjectPurgeable(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable option) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + return Delegates.glObjectPurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option); #if DEBUG } #endif @@ -3136,13 +3136,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")] public static - IntPtr ObjectPurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option) + IntPtr ObjectPurgeable(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable option) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + return Delegates.glObjectPurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option); #if DEBUG } #endif @@ -3150,13 +3150,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")] public static - IntPtr ObjectUnpurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable option) + IntPtr ObjectUnpurgeable(AppleObjectPurgeable objectType, Int32 name, AppleObjectPurgeable option) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + return Delegates.glObjectUnpurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option); #if DEBUG } #endif @@ -3165,13 +3165,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")] public static - IntPtr ObjectUnpurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option) + IntPtr ObjectUnpurgeable(AppleObjectPurgeable objectType, UInt32 name, AppleObjectPurgeable option) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + return Delegates.glObjectUnpurgeableAPPLE((AppleObjectPurgeable)objectType, (UInt32)name, (AppleObjectPurgeable)option); #if DEBUG } #endif @@ -3237,13 +3237,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] public static - bool TestObject(OpenTK.Graphics.AppleFence @object, Int32 name) + bool TestObject(AppleFence @object, Int32 name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); + return Delegates.glTestObjectAPPLE((AppleFence)@object, (UInt32)name); #if DEBUG } #endif @@ -3252,13 +3252,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] public static - bool TestObject(OpenTK.Graphics.AppleFence @object, UInt32 name) + bool TestObject(AppleFence @object, UInt32 name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); + return Delegates.glTestObjectAPPLE((AppleFence)@object, (UInt32)name); #if DEBUG } #endif @@ -3266,21 +3266,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] public static - void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] - public static - void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] ref T2 pointer) + void TextureRange(AppleTextureRange target, Int32 length, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -3290,7 +3276,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3303,7 +3289,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] public static - void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] T2[,,] pointer) + void TextureRange(AppleTextureRange target, Int32 length, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -3313,7 +3299,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3326,7 +3312,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] public static - void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] T2[] pointer) + void TextureRange(AppleTextureRange target, Int32 length, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -3336,7 +3322,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3349,7 +3335,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] public static - void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] T2[,] pointer) + void TextureRange(AppleTextureRange target, Int32 length, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -3359,7 +3345,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -3370,15 +3356,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(AppleTextureRange target, Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRangeAPPLE((AppleTextureRange)target, (Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")] public static - void VertexArrayParameter(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param) + void VertexArrayParameter(AppleVertexArrayRange pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.AppleVertexArrayRange)pname, (Int32)param); + Delegates.glVertexArrayParameteriAPPLE((AppleVertexArrayRange)pname, (Int32)param); #if DEBUG } #endif @@ -3407,43 +3407,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] - public static - void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) @@ -3490,6 +3453,43 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + } public static partial class Arb @@ -3503,16 +3503,29 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glActiveTextureARB")] public static - void ActiveTexture(OpenTK.Graphics.TextureUnit texture) + void ActiveTexture(TextureUnit texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glActiveTextureARB((OpenTK.Graphics.TextureUnit)texture); + Delegates.glActiveTextureARB((TextureUnit)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")] + public static + void AttachObject(Int32 containerObj, Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); #if DEBUG } #endif @@ -3533,15 +3546,29 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")] + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] public static - void AttachObject(Int32 containerObj, Int32 obj) + void BeginQuery(ArbOcclusionQuery target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); + Delegates.glBeginQueryARB((ArbOcclusionQuery)target, (UInt32)id); #if DEBUG } #endif @@ -3561,46 +3588,16 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] public static - void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id) + void BeginQuery(ArbOcclusionQuery target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Delimit the boundaries of a query object - /// - /// - /// - /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] - public static - void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); + Delegates.glBeginQueryARB((ArbOcclusionQuery)target, (UInt32)id); #if DEBUG } #endif @@ -3625,7 +3622,39 @@ namespace OpenTK.Graphics /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. /// /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] + public static + void BindAttribLocation(Int32 programObj, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] public static @@ -3643,33 +3672,27 @@ namespace OpenTK.Graphics /// - /// Associates a generic vertex attribute index with a named attribute variable + /// Bind a named buffer object /// - /// + /// /// - /// Specifies the handle of the program object in which the association is to be made. + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. /// /// - /// + /// /// - /// Specifies the index of the generic vertex attribute to be bound. + /// Specifies the name of a buffer object. /// /// - /// - /// - /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. - /// - /// - - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] public static - void BindAttribLocation(Int32 programObj, Int32 index, String name) + void BindBuffer(BufferTargetArb target, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); + Delegates.glBindBufferARB((BufferTargetArb)target, (UInt32)buffer); #if DEBUG } #endif @@ -3689,46 +3712,30 @@ namespace OpenTK.Graphics /// Specifies the name of a buffer object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] public static - void BindBuffer(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer) + void BindBuffer(BufferTargetArb target, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); + Delegates.glBindBufferARB((BufferTargetArb)target, (UInt32)buffer); #if DEBUG } #endif } - - /// - /// Bind a named buffer object - /// - /// - /// - /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the name of a buffer object. - /// - /// - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] public static - void BindBuffer(OpenTK.Graphics.BufferTargetArb target, Int32 buffer) + void BindProgram(AssemblyProgramTargetArb target, Int32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); + Delegates.glBindProgramARB((AssemblyProgramTargetArb)target, (UInt32)program); #if DEBUG } #endif @@ -3737,27 +3744,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program) + void BindProgram(AssemblyProgramTargetArb target, UInt32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] - public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); + Delegates.glBindProgramARB((AssemblyProgramTargetArb)target, (UInt32)program); #if DEBUG } #endif @@ -3787,10 +3780,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, BufferUsageArb usage) where T2 : struct { #if DEBUG @@ -3800,7 +3792,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage); } finally { @@ -3835,10 +3827,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, BufferUsageArb usage) where T2 : struct { #if DEBUG @@ -3848,7 +3839,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage); } finally { @@ -3883,10 +3874,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, BufferUsageArb usage) where T2 : struct { #if DEBUG @@ -3896,7 +3886,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage); } finally { @@ -3931,49 +3921,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageArb)usage); - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(BufferTargetArb target, IntPtr size, [In, Out] T2[] data, BufferUsageArb usage) where T2 : struct { #if DEBUG @@ -3983,7 +3933,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageArb)usage); } finally { @@ -3995,6 +3945,44 @@ namespace OpenTK.Graphics } + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(BufferTargetArb target, IntPtr size, IntPtr data, BufferUsageArb usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferDataARB((BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (BufferUsageArb)usage); + #if DEBUG + } + #endif + } + + /// /// Updates a subset of a buffer object's data store /// @@ -4018,10 +4006,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -4031,7 +4018,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4066,10 +4053,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -4079,7 +4065,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4114,10 +4100,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -4127,7 +4112,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4162,49 +4147,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -4214,7 +4159,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4225,15 +4170,53 @@ namespace OpenTK.Graphics #endif } + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbColorBufferFloat", Version = "1.5", EntryPoint = "glClampColorARB")] public static - void ClampColor(OpenTK.Graphics.ArbColorBufferFloat target, OpenTK.Graphics.ArbColorBufferFloat clamp) + void ClampColor(ArbColorBufferFloat target, ArbColorBufferFloat clamp) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClampColorARB((OpenTK.Graphics.ArbColorBufferFloat)target, (OpenTK.Graphics.ArbColorBufferFloat)clamp); + Delegates.glClampColorARB((ArbColorBufferFloat)target, (ArbColorBufferFloat)clamp); #if DEBUG } #endif @@ -4248,16 +4231,15 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glClientActiveTextureARB")] public static - void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) + void ClientActiveTexture(TextureUnit texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClientActiveTextureARB((OpenTK.Graphics.TextureUnit)texture); + Delegates.glClientActiveTextureARB((TextureUnit)texture); #if DEBUG } #endif @@ -4272,7 +4254,6 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static void CompileShader(Int32 shaderObj) @@ -4296,7 +4277,6 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static @@ -4351,10 +4331,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) where T6 : struct { #if DEBUG @@ -4364,7 +4343,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4414,10 +4393,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) where T6 : struct { #if DEBUG @@ -4427,7 +4405,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4477,10 +4455,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) where T6 : struct { #if DEBUG @@ -4490,7 +4467,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4540,16 +4517,24 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -4594,25 +4579,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) - where T6 : struct + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glCompressedTexImage1DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -4662,10 +4637,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) where T7 : struct { #if DEBUG @@ -4675,7 +4649,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4730,69 +4704,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) where T7 : struct { #if DEBUG @@ -4802,7 +4716,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4857,10 +4771,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) where T7 : struct { #if DEBUG @@ -4870,7 +4783,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4925,10 +4838,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) where T7 : struct { #if DEBUG @@ -4938,7 +4850,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -4950,6 +4862,64 @@ namespace OpenTK.Graphics } + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture image in a compressed format /// @@ -4998,10 +4968,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) where T8 : struct { #if DEBUG @@ -5011,7 +4980,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5071,10 +5040,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) where T8 : struct { #if DEBUG @@ -5084,7 +5052,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5144,10 +5112,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) where T8 : struct { #if DEBUG @@ -5157,7 +5124,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5217,10 +5184,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) where T8 : struct { #if DEBUG @@ -5230,7 +5196,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5290,16 +5256,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + Delegates.glCompressedTexImage3DARB((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -5344,10 +5309,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) where T6 : struct { #if DEBUG @@ -5357,7 +5321,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5407,64 +5371,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) where T6 : struct { #if DEBUG @@ -5474,7 +5383,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5524,10 +5433,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) where T6 : struct { #if DEBUG @@ -5537,7 +5445,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5587,10 +5495,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[] data) where T6 : struct { #if DEBUG @@ -5600,7 +5507,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5612,6 +5519,59 @@ namespace OpenTK.Graphics } + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage1DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Specify a two-dimensional texture subimage in a compressed format /// @@ -5660,10 +5620,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) where T8 : struct { #if DEBUG @@ -5673,7 +5632,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5733,74 +5692,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) where T8 : struct { #if DEBUG @@ -5810,7 +5704,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5870,10 +5764,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) where T8 : struct { #if DEBUG @@ -5883,7 +5776,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5943,10 +5836,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[] data) where T8 : struct { #if DEBUG @@ -5956,7 +5848,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -5968,6 +5860,69 @@ namespace OpenTK.Graphics } + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture subimage in a compressed format /// @@ -6021,10 +5976,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) where T10 : struct { #if DEBUG @@ -6034,7 +5988,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -6099,79 +6053,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) where T10 : struct { #if DEBUG @@ -6181,7 +6065,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -6246,10 +6130,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) where T10 : struct { #if DEBUG @@ -6259,7 +6142,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -6324,10 +6207,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[] data) where T10 : struct { #if DEBUG @@ -6337,7 +6219,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -6348,6 +6230,74 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3DARB((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateProgramObjectARB")] public static Int32 CreateProgramObject() @@ -6364,13 +6314,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateShaderObjectARB")] public static - Int32 CreateShaderObject(OpenTK.Graphics.ArbShaderObjects shaderType) + Int32 CreateShaderObject(ArbShaderObjects shaderType) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.ArbShaderObjects)shaderType); + return Delegates.glCreateShaderObjectARB((ArbShaderObjects)shaderType); #if DEBUG } #endif @@ -6404,7 +6354,69 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static void DeleteBuffers(Int32 n, ref Int32 buffers) @@ -6439,7 +6451,6 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -6475,78 +6486,6 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -6576,17 +6515,36 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) + void DeleteBuffers(Int32 n, UInt32[] buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + public static + void DeleteObject(Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteObjectARB((UInt32)obj); #if DEBUG } #endif @@ -6607,15 +6565,25 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static - void DeleteObject(Int32 obj) + unsafe void DeleteProgram(Int32 n, Int32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteObjectARB((UInt32)obj); + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); #if DEBUG } #endif @@ -6630,7 +6598,6 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static void DeleteProgram(Int32 n, Int32[] programs) @@ -6660,7 +6627,35 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -6691,62 +6686,6 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -6771,7 +6710,6 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -6807,22 +6745,16 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static - void DeleteQueries(Int32 n, ref Int32 ids) + unsafe void DeleteQueries(Int32 n, Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); #if DEBUG } #endif @@ -6842,7 +6774,6 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static void DeleteQueries(Int32 n, Int32[] ids) @@ -6877,41 +6808,9 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) + void DeleteQueries(Int32 n, ref Int32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6919,7 +6818,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* ids_ptr = ids) + fixed (Int32* ids_ptr = &ids) { Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); } @@ -6943,7 +6842,6 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -6979,7 +6877,6 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -6995,16 +6892,36 @@ namespace OpenTK.Graphics #endif } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static - void DetachObject(UInt32 containerObj, UInt32 attachedObj) + void DeleteQueries(Int32 n, UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } #if DEBUG } #endif @@ -7025,15 +6942,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] public static - void DisableVertexAttribArray(UInt32 index) + void DetachObject(UInt32 containerObj, UInt32 attachedObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableVertexAttribArrayARB((UInt32)index); + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); #if DEBUG } #endif @@ -7053,15 +6970,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] public static - void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount) + void DisableVertexAttribArray(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); + Delegates.glDisableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")] + public static + void DrawArraysInstanced(BeginMode mode, Int32 first, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstancedARB((BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); #if DEBUG } #endif @@ -7081,17 +7013,16 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs) + unsafe void DrawBuffers(Int32 n, ArbDrawBuffers* bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs); + Delegates.glDrawBuffersARB((Int32)n, (ArbDrawBuffers*)bufs); #if DEBUG } #endif @@ -7111,10 +7042,9 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ArbDrawBuffers bufs) + void DrawBuffers(Int32 n, ArbDrawBuffers[] bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7122,9 +7052,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.ArbDrawBuffers* bufs_ptr = &bufs) + fixed (ArbDrawBuffers* bufs_ptr = bufs) { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs_ptr); + Delegates.glDrawBuffersARB((Int32)n, (ArbDrawBuffers*)bufs_ptr); } } #if DEBUG @@ -7146,10 +7076,9 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers[] bufs) + void DrawBuffers(Int32 n, ref ArbDrawBuffers bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7157,9 +7086,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.ArbDrawBuffers* bufs_ptr = bufs) + fixed (ArbDrawBuffers* bufs_ptr = &bufs) { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs_ptr); + Delegates.glDrawBuffersARB((Int32)n, (ArbDrawBuffers*)bufs_ptr); } } #if DEBUG @@ -7169,7 +7098,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -7179,7 +7108,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -7192,7 +7121,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -7202,7 +7131,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -7215,7 +7144,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -7225,7 +7154,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -7238,21 +7167,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -7262,7 +7177,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -7273,6 +7188,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedARB((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + /// /// Enable or disable a generic vertex attribute array @@ -7282,7 +7211,6 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] public static void EnableVertexAttribArray(Int32 index) @@ -7306,7 +7234,6 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] public static @@ -7324,13 +7251,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glEndQueryARB")] public static - void EndQuery(OpenTK.Graphics.ArbOcclusionQuery target) + void EndQuery(ArbOcclusionQuery target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEndQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target); + Delegates.glEndQueryARB((ArbOcclusionQuery)target); #if DEBUG } #endif @@ -7338,13 +7265,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + void FramebufferTexture(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTextureARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -7353,13 +7280,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + void FramebufferTexture(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTextureARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + public static + void FramebufferTextureFace(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face); #if DEBUG } #endif @@ -7368,27 +7309,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + void FramebufferTextureFace(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, TextureTarget face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glFramebufferTextureFaceARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glFramebufferTextureLayerARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -7397,27 +7338,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + Delegates.glFramebufferTextureLayerARB((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -7437,7 +7364,104 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -7474,108 +7498,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -7605,10 +7527,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static - void GenBuffers(Int32 n, [Out] out Int32 buffers) + void GenBuffers(Int32 n, [Out] UInt32[] buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7616,10 +7538,44 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* buffers_ptr = &buffers) + fixed (UInt32* buffers_ptr = buffers) { Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + unsafe void GenProgram(Int32 n, [Out] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [Out] Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); } } #if DEBUG @@ -7651,13 +7607,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) + void GenProgram(Int32 n, [Out] out UInt32 programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } #if DEBUG } #endif @@ -7666,7 +7629,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7699,30 +7662,52 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static - void GenProgram(Int32 n, [Out] Int32[] programs) + unsafe void GenQueries(Int32 n, [Out] Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static - void GenProgram(Int32 n, [Out] out UInt32 programs) + void GenQueries(Int32 n, [Out] Int32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7730,10 +7715,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* programs_ptr = &programs) + fixed (Int32* ids_ptr = ids) { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); } } #if DEBUG @@ -7755,7 +7739,41 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [Out] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -7792,108 +7810,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -7923,10 +7839,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static - void GenQueries(Int32 n, [Out] out Int32 ids) + void GenQueries(Int32 n, [Out] UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7934,10 +7850,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = &ids) + fixed (UInt32* ids_ptr = ids) { Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; } } #if DEBUG @@ -7984,11 +7899,63 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbVertexShader* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbVertexShader*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbVertexShader type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7998,9 +7965,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) + fixed (ArbVertexShader* type_ptr = &type) { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -8050,27 +8017,16 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbVertexShader* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbVertexShader*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -8115,121 +8071,10 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] - public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] - public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbVertexShader type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8239,9 +8084,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbShaderObjects* type_ptr = &type) + fixed (ArbVertexShader* type_ptr = &type) { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -8291,10 +8136,63 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbShaderObjects*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbShaderObjects type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8304,9 +8202,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbShaderObjects* type_ptr = &type) + fixed (ArbShaderObjects* type_ptr = &type) { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -8356,17 +8254,16 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] ArbShaderObjects* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (ArbShaderObjects*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -8411,17 +8308,27 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out ArbShaderObjects type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (ArbShaderObjects* type_ptr = &type) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } #if DEBUG } #endif @@ -8445,13 +8352,16 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + fixed (Int32* obj_ptr = obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } #if DEBUG } #endif @@ -8483,16 +8393,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (UInt32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); #if DEBUG } #endif @@ -8501,13 +8408,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Int32* obj_ptr = obj) + fixed (UInt32* obj_ptr = obj) { Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); } @@ -8554,11 +8461,9 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] public static - Int32 GetAttribLocation(UInt32 programObj, String name) + Int32 GetAttribLocation(Int32 programObj, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8584,10 +8489,10 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] public static - Int32 GetAttribLocation(Int32 programObj, String name) + Int32 GetAttribLocation(UInt32 programObj, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8599,9 +8504,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] public static - void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32[] @params) + unsafe void GetBufferParameter(ArbVertexBufferObject target, BufferParameterNameArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterivARB((ArbVertexBufferObject)target, (BufferParameterNameArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(ArbVertexBufferObject target, BufferParameterNameArb pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8611,7 +8531,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr); + Delegates.glGetBufferParameterivARB((ArbVertexBufferObject)target, (BufferParameterNameArb)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -8621,7 +8541,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] public static - void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] out Int32 @params) + void GetBufferParameter(ArbVertexBufferObject target, BufferParameterNameArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8631,7 +8551,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr); + Delegates.glGetBufferParameterivARB((ArbVertexBufferObject)target, (BufferParameterNameArb)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -8640,24 +8560,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[] @params) + void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] ref T2 @params) where T2 : struct { #if DEBUG @@ -8667,7 +8572,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -8680,7 +8585,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,] @params) + void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] T2[,,] @params) where T2 : struct { #if DEBUG @@ -8690,7 +8595,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -8703,21 +8608,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] ref T2 @params) + void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] T2[,] @params) where T2 : struct { #if DEBUG @@ -8727,7 +8618,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -8740,7 +8631,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,,] @params) + void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [In, Out] T2[] @params) where T2 : struct { #if DEBUG @@ -8750,7 +8641,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -8761,6 +8652,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(ArbVertexBufferObject target, BufferPointerNameArb pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervARB((ArbVertexBufferObject)target, (BufferPointerNameArb)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + /// /// Returns a subset of a buffer object's data store @@ -8785,10 +8690,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -8798,7 +8702,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -8833,10 +8737,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -8846,7 +8749,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -8881,49 +8784,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -8933,7 +8796,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -8968,10 +8831,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -8981,7 +8843,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -8993,6 +8855,44 @@ namespace OpenTK.Graphics } + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferSubDataARB((BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Return a compressed texture image /// @@ -9011,10 +8911,9 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] ref T2 img) where T2 : struct { #if DEBUG @@ -9024,7 +8923,7 @@ namespace OpenTK.Graphics GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); } finally { @@ -9054,10 +8953,9 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[,,] img) where T2 : struct { #if DEBUG @@ -9067,7 +8965,7 @@ namespace OpenTK.Graphics GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); } finally { @@ -9097,10 +8995,9 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[,] img) where T2 : struct { #if DEBUG @@ -9110,7 +9007,7 @@ namespace OpenTK.Graphics GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); } finally { @@ -9140,16 +9037,24 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[] img) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } #if DEBUG } #endif @@ -9174,25 +9079,15 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) - where T2 : struct + void GetCompressedTexImage(TextureTarget target, Int32 level, [Out] IntPtr img) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } + Delegates.glGetCompressedTexImageARB((TextureTarget)target, (Int32)level, (IntPtr)img); #if DEBUG } #endif @@ -9200,13 +9095,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetHandleARB")] public static - Int32 GetHandle(OpenTK.Graphics.ArbShaderObjects pname) + Int32 GetHandle(ArbShaderObjects pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetHandleARB((OpenTK.Graphics.ArbShaderObjects)pname); + return Delegates.glGetHandleARB((ArbShaderObjects)pname); #if DEBUG } #endif @@ -9227,21 +9122,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] - public static - unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] public static void GetInfoLog(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) @@ -9263,6 +9143,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] public static @@ -9285,81 +9180,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) + void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9369,7 +9192,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -9378,9 +9201,45 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) + unsafe void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9390,7 +9249,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -9399,16 +9258,52 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + unsafe void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (ArbShaderObjects)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) + unsafe void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); + Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params); #if DEBUG } #endif @@ -9416,7 +9311,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32[] @params) + void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9426,7 +9321,28 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(Int32 obj, ArbShaderObjects pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -9437,7 +9353,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32[] @params) + unsafe void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9447,7 +9378,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -9455,9 +9386,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Int32 @params) + void GetObjectParameter(UInt32 obj, ArbShaderObjects pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9467,7 +9399,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + Delegates.glGetObjectParameterivARB((UInt32)obj, (ArbShaderObjects)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -9476,53 +9408,16 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) + unsafe void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif @@ -9530,7 +9425,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double[] @params) + void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9540,7 +9435,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -9548,10 +9443,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) + void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9561,7 +9455,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -9573,7 +9467,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) + unsafe void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9583,7 +9492,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -9591,9 +9500,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) + void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9603,7 +9513,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramEnvParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -9612,25 +9522,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) + void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9640,7 +9534,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -9652,13 +9546,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) + unsafe void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(ArbVertexProgram target, Int32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -9667,21 +9581,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) + void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9691,7 +9591,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -9700,30 +9600,25 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) + unsafe void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(ArbVertexProgram target, UInt32 index, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9733,7 +9628,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetProgramEnvParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -9760,17 +9655,16 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static - unsafe void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) + unsafe void GetProgram(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); + Delegates.glGetProgramivARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (Int32*)@params); #if DEBUG } #endif @@ -9795,10 +9689,9 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static - void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) + void GetProgram(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9808,28 +9701,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramivARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -9841,59 +9713,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) + unsafe void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) + void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9903,7 +9737,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -9913,7 +9747,44 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double[] @params) + void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9923,7 +9794,29 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -9933,7 +9826,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) + void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9943,7 +9836,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -9955,13 +9848,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) + unsafe void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(ArbVertexProgram target, Int32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -9970,22 +9883,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) + void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9995,7 +9893,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -10007,27 +9905,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) + unsafe void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } + Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single[] @params) + void GetProgramLocalParameter(ArbVertexProgram target, UInt32 index, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10037,7 +9930,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetProgramLocalParameterfvARB((ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -10047,7 +9940,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[] @string) + void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] ref T2 @string) where T2 : struct { #if DEBUG @@ -10057,7 +9950,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -10070,21 +9963,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] ref T2 @string) + void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string) where T2 : struct { #if DEBUG @@ -10094,7 +9973,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -10107,7 +9986,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string) + void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] T2[,] @string) where T2 : struct { #if DEBUG @@ -10117,7 +9996,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -10130,7 +10009,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,] @string) + void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [In, Out] T2[] @string) where T2 : struct { #if DEBUG @@ -10140,7 +10019,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -10151,16 +10030,30 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(AssemblyProgramTargetArb target, AssemblyProgramParameterArb pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringARB((AssemblyProgramTargetArb)target, (AssemblyProgramParameterArb)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] public static - unsafe void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) + unsafe void GetQuery(ArbOcclusionQuery target, ArbOcclusionQuery pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); + Delegates.glGetQueryivARB((ArbOcclusionQuery)target, (ArbOcclusionQuery)pname, (Int32*)@params); #if DEBUG } #endif @@ -10168,7 +10061,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] public static - void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) + void GetQuery(ArbOcclusionQuery target, ArbOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10178,7 +10071,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryivARB((ArbOcclusionQuery)target, (ArbOcclusionQuery)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -10188,7 +10081,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] public static - void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + void GetQuery(ArbOcclusionQuery target, ArbOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10198,7 +10091,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryivARB((ArbOcclusionQuery)target, (ArbOcclusionQuery)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -10226,11 +10119,43 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) + unsafe void GetQueryObject(Int32 id, ArbOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(Int32 id, ArbOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10240,7 +10165,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -10267,10 +10192,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + void GetQueryObject(Int32 id, ArbOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10280,7 +10204,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -10308,11 +10232,84 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + unsafe void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10322,7 +10319,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryObjectivARB((UInt32)id, (ArbOcclusionQuery)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -10350,121 +10347,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out UInt32 @params) + void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10474,7 +10360,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); + Delegates.glGetQueryObjectuivARB((UInt32)id, (ArbOcclusionQuery)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -10502,17 +10388,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32* @params) + unsafe void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params); + Delegates.glGetQueryObjectuivARB((UInt32)id, (ArbOcclusionQuery)pname, (UInt32*)@params); #if DEBUG } #endif @@ -10537,11 +10422,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32[] @params) + void GetQueryObject(UInt32 id, ArbOcclusionQuery pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10551,7 +10435,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); + Delegates.glGetQueryObjectuivARB((UInt32)id, (ArbOcclusionQuery)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -10583,24 +10467,16 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static - void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source) + unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)source); - length = *length_ptr; - } - } + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source); #if DEBUG } #endif @@ -10630,7 +10506,6 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source) @@ -10676,7 +10551,6 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static @@ -10716,17 +10590,23 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static - unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source) + void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source); + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)source); + length = *length_ptr; + } + } #if DEBUG } #endif @@ -10751,77 +10631,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params) @@ -10862,23 +10671,16 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static - void GetUniform(UInt32 programObj, Int32 location, [Out] Single[] @params) + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - } - } + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); #if DEBUG } #endif @@ -10903,7 +10705,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params) @@ -10943,7 +10744,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -10985,11 +10785,84 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11020,7 +10893,45 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params) @@ -11061,53 +10972,10 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static - void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params) + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11138,7 +11006,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -11179,10 +11046,10 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static - void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params) + void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11190,9 +11057,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -11214,7 +11082,6 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] public static Int32 GetUniformLocation(Int32 programObj, String name) @@ -11243,7 +11110,6 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] public static @@ -11278,17 +11144,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) + unsafe void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); + Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params); #if DEBUG } #endif @@ -11313,46 +11178,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) + void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11362,7 +11190,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr); } } #if DEBUG @@ -11389,11 +11217,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) + void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11403,7 +11229,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -11431,10 +11257,44 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) + unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11444,7 +11304,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr); } } #if DEBUG @@ -11471,10 +11331,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) + void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11484,7 +11344,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdvARB((UInt32)index, (VertexAttribParameterArb)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -11512,121 +11372,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) + void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11636,7 +11384,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -11664,24 +11412,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) + unsafe void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params); #if DEBUG } #endif @@ -11706,10 +11446,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) + void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11719,7 +11458,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr); } } #if DEBUG @@ -11746,10 +11485,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) + void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11757,161 +11496,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -11939,10 +11526,156 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (VertexAttribParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) + unsafe void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, VertexAttribParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -11952,7 +11685,122 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(UInt32 index, VertexAttribParameterArb pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (VertexAttribParameterArb)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -11963,7 +11811,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -11973,7 +11821,114 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -11987,7 +11942,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -11997,30 +11952,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12034,36 +11966,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -12073,30 +11976,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12110,7 +11990,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -12120,30 +12000,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12157,22 +12014,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) - where T2 : struct + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glGetVertexAttribPointervARB((UInt32)index, (VertexAttribPointerParameterArb)pname, (IntPtr)pointer); #if DEBUG } #endif @@ -12187,11 +12035,9 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] public static - bool IsBuffer(UInt32 buffer) + bool IsBuffer(Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12212,10 +12058,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] public static - bool IsBuffer(Int32 buffer) + bool IsBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12236,11 +12082,9 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] public static - bool IsProgram(UInt32 program) + bool IsProgram(Int32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12261,10 +12105,10 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] public static - bool IsProgram(Int32 program) + bool IsProgram(UInt32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12285,7 +12129,6 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] public static bool IsQuery(Int32 id) @@ -12309,7 +12152,6 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] public static @@ -12334,7 +12176,6 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] public static void LinkProgram(Int32 programObj) @@ -12358,7 +12199,6 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] public static @@ -12383,7 +12223,30 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + unsafe void LoadTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixdARB((Double*)m); + #if DEBUG + } + #endif + } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static void LoadTransposeMatrix(Double[] m) @@ -12413,7 +12276,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static void LoadTransposeMatrix(ref Double m) @@ -12443,62 +12305,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixdARB((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static void LoadTransposeMatrix(ref Single m) @@ -12528,7 +12334,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static @@ -12545,6 +12350,35 @@ namespace OpenTK.Graphics } + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + void LoadTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Map a buffer object's data store /// @@ -12558,17 +12392,16 @@ namespace OpenTK.Graphics /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")] public static - unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.ArbVertexBufferObject access) + unsafe IntPtr MapBuffer(BufferTargetArb target, ArbVertexBufferObject access) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapBufferARB((OpenTK.Graphics.BufferTargetArb)target, (OpenTK.Graphics.ArbVertexBufferObject)access); + return Delegates.glMapBufferARB((BufferTargetArb)target, (ArbVertexBufferObject)access); #if DEBUG } #endif @@ -12576,7 +12409,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) + void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -12586,7 +12419,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12599,7 +12432,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,] pointer) + void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -12609,7 +12442,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12622,21 +12455,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) + void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -12646,7 +12465,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12659,7 +12478,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) + void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -12669,7 +12488,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -12680,6 +12499,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, ArbMatrixPalette type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexPointerARB((Int32)size, (ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] public static @@ -12695,6 +12528,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + public static + void MatrixIndex(Int32 size, Byte[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* indices_ptr = indices) + { + Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] public static void MatrixIndex(Int32 size, ref Byte indices) @@ -12715,9 +12568,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - void MatrixIndex(Int32 size, Byte[] indices) + unsafe void MatrixIndex(Int32 size, Int32* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + public static + void MatrixIndex(Int32 size, Int32[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12725,9 +12593,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* indices_ptr = indices) + fixed (Int32* indices_ptr = indices) { - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr); + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); } } #if DEBUG @@ -12776,6 +12644,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + public static + unsafe void MatrixIndex(Int32 size, UInt32* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static @@ -12797,81 +12680,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - unsafe void MatrixIndex(Int32 size, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - unsafe void MatrixIndex(Int32 size, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - void MatrixIndex(Int32 size, UInt16[] indices) + unsafe void MatrixIndex(Int32 size, Int16* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* indices_ptr = indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - void MatrixIndex(Int32 size, ref UInt16 indices) + void MatrixIndex(Int32 size, Int16[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12879,7 +12705,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* indices_ptr = &indices) + fixed (Int16* indices_ptr = indices) { Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); } @@ -12912,13 +12738,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - unsafe void MatrixIndex(Int32 size, Int16* indices) + void MatrixIndex(Int32 size, ref UInt16 indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + unsafe + { + fixed (UInt16* indices_ptr = &indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } #if DEBUG } #endif @@ -12939,9 +12771,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - void MatrixIndex(Int32 size, Int16[] indices) + void MatrixIndex(Int32 size, UInt16[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12949,7 +12782,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* indices_ptr = indices) + fixed (UInt16* indices_ptr = indices) { Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); } @@ -12973,16 +12806,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) + void MultiTexCoord1(TextureUnit target, Double s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.TextureUnit)target, (Double)s); + Delegates.glMultiTexCoord1dARB((TextureUnit)target, (Double)s); #if DEBUG } #endif @@ -13002,17 +12834,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double* v) + unsafe void MultiTexCoord1(TextureUnit target, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + Delegates.glMultiTexCoord1dvARB((TextureUnit)target, (Double*)v); #if DEBUG } #endif @@ -13032,16 +12863,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) + void MultiTexCoord1(TextureUnit target, Single s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.TextureUnit)target, (Single)s); + Delegates.glMultiTexCoord1fARB((TextureUnit)target, (Single)s); #if DEBUG } #endif @@ -13061,17 +12891,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single* v) + unsafe void MultiTexCoord1(TextureUnit target, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + Delegates.glMultiTexCoord1fvARB((TextureUnit)target, (Single*)v); #if DEBUG } #endif @@ -13091,16 +12920,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) + void MultiTexCoord1(TextureUnit target, Int32 s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s); + Delegates.glMultiTexCoord1iARB((TextureUnit)target, (Int32)s); #if DEBUG } #endif @@ -13120,17 +12948,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord1(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord1ivARB((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -13150,16 +12977,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) + void MultiTexCoord1(TextureUnit target, Int16 s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s); + Delegates.glMultiTexCoord1sARB((TextureUnit)target, (Int16)s); #if DEBUG } #endif @@ -13179,17 +13005,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16* v) + unsafe void MultiTexCoord1(TextureUnit target, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + Delegates.glMultiTexCoord1svARB((TextureUnit)target, (Int16*)v); #if DEBUG } #endif @@ -13209,16 +13034,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) + void MultiTexCoord2(TextureUnit target, Double s, Double t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); + Delegates.glMultiTexCoord2dARB((TextureUnit)target, (Double)s, (Double)t); #if DEBUG } #endif @@ -13238,10 +13062,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) + unsafe void MultiTexCoord2(TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dvARB((TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + void MultiTexCoord2(TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13251,7 +13103,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord2dvARB((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -13273,10 +13125,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) + void MultiTexCoord2(TextureUnit target, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13286,7 +13137,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = &v) { - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord2dvARB((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -13308,46 +13159,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) + void MultiTexCoord2(TextureUnit target, Single s, Single t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); + Delegates.glMultiTexCoord2fARB((TextureUnit)target, (Single)s, (Single)t); #if DEBUG } #endif @@ -13367,75 +13187,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) + void MultiTexCoord2(TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13445,7 +13199,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord2fvARB((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -13467,16 +13221,78 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] + public static + unsafe void MultiTexCoord2(TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fvARB((TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] + public static + void MultiTexCoord2(TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord2fvARB((TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) + void MultiTexCoord2(TextureUnit target, Int32 s, Int32 t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); + Delegates.glMultiTexCoord2iARB((TextureUnit)target, (Int32)s, (Int32)t); #if DEBUG } #endif @@ -13496,10 +13312,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) + unsafe void MultiTexCoord2(TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2ivARB((TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] + public static + void MultiTexCoord2(TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13509,7 +13353,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord2ivARB((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -13531,40 +13375,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) + void MultiTexCoord2(TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13574,7 +13387,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = &v) { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord2ivARB((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -13596,16 +13409,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) + void MultiTexCoord2(TextureUnit target, Int16 s, Int16 t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); + Delegates.glMultiTexCoord2sARB((TextureUnit)target, (Int16)s, (Int16)t); #if DEBUG } #endif @@ -13625,22 +13437,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) + unsafe void MultiTexCoord2(TextureUnit target, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } + Delegates.glMultiTexCoord2svARB((TextureUnit)target, (Int16*)v); #if DEBUG } #endif @@ -13660,10 +13466,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) + void MultiTexCoord2(TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13673,7 +13478,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = v) { - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord2svARB((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -13695,17 +13500,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) + void MultiTexCoord2(TextureUnit target, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord2svARB((TextureUnit)target, (Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -13725,16 +13534,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) + void MultiTexCoord3(TextureUnit target, Double s, Double t, Double r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); + Delegates.glMultiTexCoord3dARB((TextureUnit)target, (Double)s, (Double)t, (Double)r); #if DEBUG } #endif @@ -13754,17 +13562,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) + unsafe void MultiTexCoord3(TextureUnit target, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + Delegates.glMultiTexCoord3dvARB((TextureUnit)target, (Double*)v); #if DEBUG } #endif @@ -13784,45 +13591,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) + void MultiTexCoord3(TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13832,7 +13603,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord3dvARB((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -13854,16 +13625,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + void MultiTexCoord3(TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord3dvARB((TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) + void MultiTexCoord3(TextureUnit target, Single s, Single t, Single r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); + Delegates.glMultiTexCoord3fARB((TextureUnit)target, (Single)s, (Single)t, (Single)r); #if DEBUG } #endif @@ -13883,10 +13687,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) + void MultiTexCoord3(TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13896,7 +13699,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord3fvARB((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -13918,10 +13721,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) + unsafe void MultiTexCoord3(TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fvARB((TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + void MultiTexCoord3(TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13931,7 +13762,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord3fvARB((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -13953,46 +13784,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) + void MultiTexCoord3(TextureUnit target, Int32 s, Int32 t, Int32 r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + Delegates.glMultiTexCoord3iARB((TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); #if DEBUG } #endif @@ -14012,17 +13812,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord3(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord3ivARB((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -14042,45 +13841,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) + void MultiTexCoord3(TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14090,7 +13853,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord3ivARB((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -14112,69 +13875,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) + void MultiTexCoord3(TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14182,9 +13885,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int32* v_ptr = &v) { - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord3ivARB((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -14206,10 +13909,66 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] + public static + void MultiTexCoord3(TextureUnit target, Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sARB((TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) + unsafe void MultiTexCoord3(TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3svARB((TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] + public static + void MultiTexCoord3(TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14219,7 +13978,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = v) { - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord3svARB((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -14241,69 +14000,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) + void MultiTexCoord3(TextureUnit target, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14311,9 +14010,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Int16* v_ptr = &v) { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord3svARB((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -14335,10 +14034,66 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] + public static + void MultiTexCoord4(TextureUnit target, Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dARB((TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) + unsafe void MultiTexCoord4(TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dvARB((TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + void MultiTexCoord4(TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14348,7 +14103,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord4dvARB((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -14370,16 +14125,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + void MultiTexCoord4(TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord4dvARB((TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) + void MultiTexCoord4(TextureUnit target, Single s, Single t, Single r, Single q) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + Delegates.glMultiTexCoord4fARB((TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); #if DEBUG } #endif @@ -14399,40 +14187,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) + void MultiTexCoord4(TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14442,7 +14199,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord4fvARB((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -14464,10 +14221,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) + unsafe void MultiTexCoord4(TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fvARB((TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + void MultiTexCoord4(TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14477,7 +14262,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord4fvARB((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -14499,16 +14284,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + void MultiTexCoord4(TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + Delegates.glMultiTexCoord4iARB((TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); #if DEBUG } #endif @@ -14528,52 +14312,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord4(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord4ivARB((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -14593,10 +14341,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) + void MultiTexCoord4(TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14606,7 +14353,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord4ivARB((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -14628,16 +14375,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + void MultiTexCoord4(TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord4ivARB((TextureUnit)target, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -14657,10 +14409,66 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] + public static + void MultiTexCoord4(TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4sARB((TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) + unsafe void MultiTexCoord4(TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4svARB((TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + void MultiTexCoord4(TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14670,7 +14478,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = v) { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord4svARB((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -14692,10 +14500,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) + void MultiTexCoord4(TextureUnit target, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14705,7 +14512,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = &v) { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord4svARB((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -14714,36 +14521,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - /// /// Multiply the current matrix with the specified row-major ordered matrix /// @@ -14752,7 +14529,30 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + unsafe void MultTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixdARB((Double*)m); + #if DEBUG + } + #endif + } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static void MultTransposeMatrix(Double[] m) @@ -14782,7 +14582,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static void MultTransposeMatrix(ref Double m) @@ -14812,62 +14611,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] - public static - unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixdARB((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] - public static - void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static void MultTransposeMatrix(ref Single m) @@ -14897,7 +14640,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static @@ -14914,6 +14656,35 @@ namespace OpenTK.Graphics } + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + void MultTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify point parameters /// @@ -14927,16 +14698,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfARB")] public static - void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single param) + void PointParameter(ArbPointParameters pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfARB((OpenTK.Graphics.ArbPointParameters)pname, (Single)param); + Delegates.glPointParameterfARB((ArbPointParameters)pname, (Single)param); #if DEBUG } #endif @@ -14956,17 +14726,16 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] public static - unsafe void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single* @params) + unsafe void PointParameter(ArbPointParameters pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfvARB((OpenTK.Graphics.ArbPointParameters)pname, (Single*)@params); + Delegates.glPointParameterfvARB((ArbPointParameters)pname, (Single*)@params); #if DEBUG } #endif @@ -14986,10 +14755,9 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] public static - void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single[] @params) + void PointParameter(ArbPointParameters pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14999,7 +14767,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glPointParameterfvARB((OpenTK.Graphics.ArbPointParameters)pname, (Single*)@params_ptr); + Delegates.glPointParameterfvARB((ArbPointParameters)pname, (Single*)@params_ptr); } } #if DEBUG @@ -15009,13 +14777,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glProgramEnvParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -15024,33 +14792,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } + Delegates.glProgramEnvParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -15059,58 +14807,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15120,7 +14831,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -15130,7 +14841,43 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15140,7 +14887,28 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -15150,13 +14918,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramEnvParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -15165,13 +14933,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramEnvParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -15179,7 +14947,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15189,7 +14957,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -15200,13 +14968,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(AssemblyProgramTargetArb target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -15215,22 +15003,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15240,7 +15013,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -15251,27 +15024,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) + unsafe void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } + Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params) + void ProgramEnvParameter4(AssemblyProgramTargetArb target, UInt32 index, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15281,7 +15049,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glProgramEnvParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -15291,13 +15059,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glProgramLocalParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -15306,33 +15074,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } + Delegates.glProgramLocalParameter4dARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -15341,58 +15089,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15402,7 +15113,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -15412,7 +15123,43 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15422,7 +15169,28 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4dvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -15432,13 +15200,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramLocalParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -15447,13 +15215,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramLocalParameter4fARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -15461,7 +15229,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15471,7 +15239,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -15482,13 +15250,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(AssemblyProgramTargetArb target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -15497,22 +15285,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15522,7 +15295,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -15533,27 +15306,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) + unsafe void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } + Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params) + void ProgramLocalParameter4(AssemblyProgramTargetArb target, UInt32 index, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15563,7 +15331,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glProgramLocalParameter4fvARB((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -15573,13 +15341,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + void ProgramParameter(Int32 program, ArbGeometryShader4 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.ArbGeometryShader4)pname, (Int32)value); + Delegates.glProgramParameteriARB((UInt32)program, (ArbGeometryShader4)pname, (Int32)value); #if DEBUG } #endif @@ -15588,13 +15356,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + void ProgramParameter(UInt32 program, ArbGeometryShader4 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.ArbGeometryShader4)pname, (Int32)value); + Delegates.glProgramParameteriARB((UInt32)program, (ArbGeometryShader4)pname, (Int32)value); #if DEBUG } #endif @@ -15602,7 +15370,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] ref T3 @string) + void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] ref T3 @string) where T3 : struct { #if DEBUG @@ -15612,7 +15380,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -15625,21 +15393,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[] @string) + void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] T3[,,] @string) where T3 : struct { #if DEBUG @@ -15649,7 +15403,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -15662,7 +15416,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,,] @string) + void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string) where T3 : struct { #if DEBUG @@ -15672,7 +15426,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -15685,7 +15439,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string) + void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, [In, Out] T3[] @string) where T3 : struct { #if DEBUG @@ -15695,7 +15449,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -15706,6 +15460,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(AssemblyProgramTargetArb target, ArbVertexProgram format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramStringARB((AssemblyProgramTargetArb)target, (ArbVertexProgram)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + /// /// Specify multisample coverage parameters @@ -15720,7 +15488,6 @@ namespace OpenTK.Graphics /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. /// /// - [AutoGenerated(Category = "ArbMultisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")] public static void SampleCoverage(Single value, bool invert) @@ -15759,7 +15526,45 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) @@ -15804,53 +15609,6 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static @@ -15890,17 +15648,22 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) + void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } #if DEBUG } #endif @@ -15908,13 +15671,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, Int32 buffer) + void TexBuffer(TextureTarget target, ArbTextureBufferObject internalformat, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBufferARB((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ArbTextureBufferObject)internalformat, (UInt32)buffer); + Delegates.glTexBufferARB((TextureTarget)target, (ArbTextureBufferObject)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -15923,13 +15686,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer) + void TexBuffer(TextureTarget target, ArbTextureBufferObject internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBufferARB((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ArbTextureBufferObject)internalformat, (UInt32)buffer); + Delegates.glTexBufferARB((TextureTarget)target, (ArbTextureBufferObject)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -15949,7 +15712,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fARB")] public static void Uniform1(Int32 location, Single v0) @@ -15978,37 +15740,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static void Uniform1(Int32 location, Int32 count, ref Single value) @@ -16043,7 +15774,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static void Uniform1(Int32 location, Int32 count, Single[] value) @@ -16078,7 +15837,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1iARB")] public static void Uniform1(Int32 location, Int32 v0) @@ -16107,7 +15865,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -16142,7 +15928,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static void Uniform1(Int32 location, Int32 count, ref Int32 value) @@ -16177,37 +15962,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fARB")] public static void Uniform2(Int32 location, Single v0, Single v1) @@ -16236,42 +15990,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] public static void Uniform2(Int32 location, Int32 count, ref Single value) @@ -16306,7 +16024,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] public static @@ -16336,7 +16053,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + void Uniform2(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2iARB")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -16365,7 +16115,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] public static @@ -16395,7 +16144,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] public static void Uniform2(Int32 location, Int32 count, Int32[] value) @@ -16430,7 +16178,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fARB")] public static void Uniform3(Int32 location, Single v0, Single v1, Single v2) @@ -16459,42 +16206,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static void Uniform3(Int32 location, Int32 count, ref Single value) @@ -16529,7 +16240,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static @@ -16559,7 +16269,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + void Uniform3(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3iARB")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -16588,22 +16331,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); #if DEBUG } #endif @@ -16623,7 +16360,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static void Uniform3(Int32 location, Int32 count, Int32[] value) @@ -16658,17 +16394,21 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + void Uniform3(Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } #if DEBUG } #endif @@ -16688,7 +16428,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fARB")] public static void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) @@ -16717,72 +16456,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] public static void Uniform4(Int32 location, Int32 count, ref Single value) @@ -16817,7 +16490,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + void Uniform4(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4iARB")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -16846,7 +16581,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static @@ -16876,10 +16610,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) + void Uniform4(Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -16887,7 +16620,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = &value) + fixed (Int32* value_ptr = value) { Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); } @@ -16911,10 +16644,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static - void Uniform4(Int32 location, Int32 count, Int32[] value) + void Uniform4(Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -16922,7 +16654,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = value) + fixed (Int32* value_ptr = &value) { Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); } @@ -16932,26 +16664,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] public static void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) @@ -16987,6 +16699,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] public static void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) @@ -17007,6 +16739,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] public static void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) @@ -17027,21 +16774,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] public static void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) @@ -17062,6 +16794,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] public static void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) @@ -17082,30 +16829,29 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glUnmapBufferARB")] public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + bool UnmapBuffer(BufferTargetArb target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + return Delegates.glUnmapBufferARB((BufferTargetArb)target); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glUnmapBufferARB")] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] public static - bool UnmapBuffer(OpenTK.Graphics.BufferTargetArb target) + void UseProgramObject(Int32 programObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glUnmapBufferARB((OpenTK.Graphics.BufferTargetArb)target); + Delegates.glUseProgramObjectARB((UInt32)programObj); #if DEBUG } #endif @@ -17126,20 +16872,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] - public static - void UseProgramObject(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramObjectARB((UInt32)programObj); - #if DEBUG - } - #endif - } - /// /// Validates a program object @@ -17149,11 +16881,9 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] public static - void ValidateProgram(UInt32 programObj) + void ValidateProgram(Int32 programObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -17174,10 +16904,10 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] public static - void ValidateProgram(Int32 programObj) + void ValidateProgram(UInt32 programObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -17203,7 +16933,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] public static void VertexAttrib1(Int32 index, Double x) @@ -17232,7 +16961,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] public static @@ -17262,37 +16990,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")] - public static - unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")] public static @@ -17322,7 +17019,63 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")] + public static + unsafe void VertexAttrib1(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] + public static + void VertexAttrib1(Int32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] public static @@ -17352,66 +17105,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")] - public static - unsafe void VertexAttrib1(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")] public static @@ -17441,7 +17134,63 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")] + public static + unsafe void VertexAttrib1(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] + public static + void VertexAttrib1(Int32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] public static @@ -17471,66 +17220,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")] - public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")] public static @@ -17560,7 +17249,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")] + public static + unsafe void VertexAttrib1(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -17589,7 +17306,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] public static @@ -17619,37 +17335,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -17679,7 +17364,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static void VertexAttrib2(Int32 index, ref Double v) @@ -17714,7 +17432,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -17750,42 +17496,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -17821,7 +17531,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -17850,7 +17559,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static @@ -17880,67 +17588,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -17975,23 +17622,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static - void VertexAttrib2(UInt32 index, Single[] v) + unsafe void VertexAttrib2(Int32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); #if DEBUG } #endif @@ -18011,7 +17651,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -18046,7 +17685,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static @@ -18082,7 +17720,70 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -18111,7 +17812,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static @@ -18141,7 +17841,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -18171,72 +17870,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static void VertexAttrib2(Int32 index, Int16[] v) @@ -18271,7 +17904,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + void VertexAttrib2(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -18307,7 +18002,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -18343,7 +18037,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] + public static + void VertexAttrib3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] public static @@ -18373,16 +18094,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) + unsafe void VertexAttrib3(Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); #if DEBUG } #endif @@ -18402,7 +18123,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -18437,7 +18191,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -18467,37 +18220,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -18533,42 +18255,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -18604,7 +18290,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -18633,7 +18318,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] public static @@ -18663,7 +18347,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static void VertexAttrib3(Int32 index, ref Single v) @@ -18698,37 +18381,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -18758,43 +18410,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static void VertexAttrib3(Int32 index, Single[] v) @@ -18829,7 +18444,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -18865,7 +18479,70 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + void VertexAttrib3(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -18894,7 +18571,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static @@ -18924,7 +18600,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -18959,7 +18697,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -18989,37 +18726,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -19055,42 +18761,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -19126,37 +18796,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -19192,7 +18831,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -19228,7 +18895,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] public static void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) @@ -19257,7 +18923,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] public static @@ -19287,7 +18952,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + void VertexAttrib4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -19322,7 +19049,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -19352,37 +19078,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -19418,42 +19113,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -19489,7 +19148,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -19518,7 +19176,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static @@ -19548,7 +19205,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -19583,37 +19239,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -19643,43 +19268,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -19714,7 +19302,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -19750,46 +19337,39 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static - void VertexAttrib4(UInt32 index, ref Int32 v) + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + void VertexAttrib4(UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19797,9 +19377,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Single* v_ptr = v) { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); } } #if DEBUG @@ -19821,7 +19401,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -19851,37 +19430,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static void VertexAttrib4(Int32 index, Int32[] v) @@ -19916,7 +19464,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -19938,16 +19548,36 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) + void VertexAttrib4(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -19974,6 +19604,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] public static @@ -19995,6 +19640,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] public static void VertexAttrib4N(Int32 index, ref Int32 v) @@ -20030,21 +19710,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] public static @@ -20066,26 +19731,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] public static @@ -20107,6 +19752,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] public static void VertexAttrib4N(Int32 index, ref Int16 v) @@ -20142,21 +19822,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] public static @@ -20178,26 +19843,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] public static @@ -20248,6 +19893,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] public static void VertexAttrib4N(Int32 index, ref Byte v) @@ -20283,21 +19963,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] public static @@ -20319,26 +19984,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] public static @@ -20360,27 +20005,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] - public static - void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] public static @@ -20418,15 +20042,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + void VertexAttrib4N(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); + } + } #if DEBUG } #endif @@ -20453,6 +20083,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] public static @@ -20488,7 +20133,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] + public static + void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] public static @@ -20518,16 +20190,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static - void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) + unsafe void VertexAttrib4(Int32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); #if DEBUG } #endif @@ -20547,7 +20219,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static void VertexAttrib4(Int32 index, ref Int16 v) @@ -20582,7 +20287,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -20612,37 +20316,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -20678,42 +20351,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -20749,7 +20386,132 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -20785,7 +20547,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -20821,173 +20582,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] - public static - void VertexAttrib4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -21023,7 +20617,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -21053,11 +20646,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static - void VertexAttrib4(UInt32 index, UInt16[] v) + void VertexAttrib4(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21065,9 +20657,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* v_ptr = v) + fixed (UInt32* v_ptr = v) { - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); } } #if DEBUG @@ -21089,7 +20681,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -21125,7 +20716,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -21141,6 +20731,41 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] + public static + void VertexAttrib4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] public static void VertexAttribDivisor(Int32 index, Int32 divisor) @@ -21204,10 +20829,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) where T5 : struct { #if DEBUG @@ -21217,7 +20841,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -21262,11 +20886,229 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) where T5 : struct { #if DEBUG @@ -21276,7 +21118,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -21321,11 +21163,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) where T5 : struct { #if DEBUG @@ -21335,7 +21176,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -21380,17 +21221,25 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -21430,60 +21279,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) where T5 : struct { #if DEBUG @@ -21493,7 +21292,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -21538,200 +21337,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -21751,6 +21366,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] + public static + void Weight(Int32 size, ref SByte weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* weights_ptr = &weights) + { + Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] public static @@ -21788,21 +21424,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] public static - void Weight(Int32 size, ref SByte weights) + unsafe void Weight(Int32 size, Double* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (SByte* weights_ptr = &weights) - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); - } - } + Delegates.glWeightdvARB((Int32)size, (Double*)weights); #if DEBUG } #endif @@ -21848,41 +21478,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] - public static - unsafe void Weight(Int32 size, Double* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightdvARB((Int32)size, (Double*)weights); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] - public static - void Weight(Int32 size, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] public static void Weight(Int32 size, ref Single weights) @@ -21918,6 +21513,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] + public static + void Weight(Int32 size, Single[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] + public static + unsafe void Weight(Int32 size, Int32* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightivARB((Int32)size, (Int32*)weights); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] public static void Weight(Int32 size, Int32[] weights) @@ -21958,122 +21588,122 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, ArbVertexBlend type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightPointerARB((Int32)size, (ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] public static - unsafe void Weight(Int32 size, Int32* weights) + unsafe void Weight(Int32 size, Int16* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWeightivARB((Int32)size, (Int32*)weights); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glWeightsvARB((Int32)size, (Int16*)weights); #if DEBUG } #endif @@ -22099,21 +21729,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] - public static - unsafe void Weight(Int32 size, Int16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightsvARB((Int32)size, (Int16*)weights); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] public static void Weight(Int32 size, ref Int16 weights) @@ -22149,26 +21764,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] - public static - void Weight(Int32 size, ref Byte weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* weights_ptr = &weights) - { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] public static void Weight(Int32 size, Byte[] weights) @@ -22189,10 +21784,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] public static - void Weight(Int32 size, UInt32[] weights) + void Weight(Int32 size, ref Byte weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22200,9 +21794,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* weights_ptr = weights) + fixed (Byte* weights_ptr = &weights) { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); } } #if DEBUG @@ -22247,15 +21841,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] public static - unsafe void Weight(Int32 size, UInt16* weights) + void Weight(Int32 size, UInt32[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + unsafe + { + fixed (UInt32* weights_ptr = weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } + } #if DEBUG } #endif @@ -22282,6 +21882,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] + public static + unsafe void Weight(Int32 size, UInt16* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] public static @@ -22312,7 +21927,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dARB")] public static void WindowPos2(Double x, Double y) @@ -22336,7 +21950,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static @@ -22361,37 +21974,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] - public static - void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos2dvARB((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static void WindowPos2(Double[] v) @@ -22421,7 +22003,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + void WindowPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos2dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fARB")] public static void WindowPos2(Single x, Single y) @@ -22445,32 +22055,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fvARB((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static void WindowPos2(ref Single v) @@ -22500,7 +22084,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + unsafe void WindowPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fvARB((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static void WindowPos2(Single[] v) @@ -22530,7 +22137,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iARB")] public static void WindowPos2(Int32 x, Int32 y) @@ -22554,7 +22160,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static @@ -22579,37 +22184,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static void WindowPos2(Int32[] v) @@ -22639,7 +22213,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + void WindowPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos2ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sARB")] public static void WindowPos2(Int16 x, Int16 y) @@ -22663,7 +22265,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static @@ -22688,37 +22289,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static void WindowPos2(Int16[] v) @@ -22748,7 +22318,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + void WindowPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos2svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dARB")] public static void WindowPos3(Double x, Double y, Double z) @@ -22772,7 +22370,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static @@ -22797,37 +22394,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dvARB((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static void WindowPos3(Double[] v) @@ -22857,7 +22423,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fARB")] public static void WindowPos3(Single x, Single y, Single z) @@ -22881,32 +22475,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fvARB((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static void WindowPos3(ref Single v) @@ -22936,7 +22504,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fvARB((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static void WindowPos3(Single[] v) @@ -22966,7 +22557,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iARB")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -22990,7 +22580,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static @@ -23015,37 +22604,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static void WindowPos3(Int32[] v) @@ -23075,7 +22633,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sARB")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -23099,7 +22685,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static @@ -23124,37 +22709,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static void WindowPos3(Int16[] v) @@ -23175,19 +22729,48 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + void WindowPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos3svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + } public static partial class Ati { [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] public static - void AlphaFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) + void AlphaFragmentOp1(AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + Delegates.glAlphaFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif @@ -23196,13 +22779,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] public static - void AlphaFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) + void AlphaFragmentOp1(AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + Delegates.glAlphaFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif @@ -23210,13 +22793,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")] public static - void AlphaFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) + void AlphaFragmentOp2(AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + Delegates.glAlphaFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); #if DEBUG } #endif @@ -23225,13 +22808,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")] public static - void AlphaFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + void AlphaFragmentOp2(AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + Delegates.glAlphaFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); #if DEBUG } #endif @@ -23239,13 +22822,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")] public static - void AlphaFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) + void AlphaFragmentOp3(AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + Delegates.glAlphaFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); #if DEBUG } #endif @@ -23254,13 +22837,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")] public static - void AlphaFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + void AlphaFragmentOp3(AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + Delegates.glAlphaFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glArrayObjectATI")] + public static + void ArrayObject(EnableCap array, Int32 size, AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glArrayObjectATI((EnableCap)array, (Int32)size, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); #if DEBUG } #endif @@ -23269,27 +22866,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glArrayObjectATI")] public static - void ArrayObject(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + void ArrayObject(EnableCap array, Int32 size, AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glArrayObjectATI((OpenTK.Graphics.EnableCap)array, (Int32)size, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glArrayObjectATI")] - public static - void ArrayObject(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glArrayObjectATI((OpenTK.Graphics.EnableCap)array, (Int32)size, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + Delegates.glArrayObjectATI((EnableCap)array, (Int32)size, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); #if DEBUG } #endif @@ -23309,6 +22892,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] + public static + void BindFragmentShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragmentShaderATI((UInt32)id); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] public static @@ -23324,29 +22921,29 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] - public static - void BindFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glClientActiveVertexStreamATI")] public static - void ClientActiveVertexStream(OpenTK.Graphics.AtiVertexStreams stream) + void ClientActiveVertexStream(AtiVertexStreams stream) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClientActiveVertexStreamATI((OpenTK.Graphics.AtiVertexStreams)stream); + Delegates.glClientActiveVertexStreamATI((AtiVertexStreams)stream); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] + public static + void ColorFragmentOp1(AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif @@ -23355,27 +22952,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] public static - void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) + void ColorFragmentOp1(AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] - public static - void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + Delegates.glColorFragmentOp1ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif @@ -23383,13 +22966,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] public static - void ColorFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) + void ColorFragmentOp2(AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + Delegates.glColorFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); #if DEBUG } #endif @@ -23398,13 +22981,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] public static - void ColorFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + void ColorFragmentOp2(AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + Delegates.glColorFragmentOp2ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); #if DEBUG } #endif @@ -23412,13 +22995,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] public static - void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) + void ColorFragmentOp3(AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + Delegates.glColorFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); #if DEBUG } #endif @@ -23427,13 +23010,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] public static - void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + void ColorFragmentOp3(AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + Delegates.glColorFragmentOp3ATI((AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] + public static + void DeleteFragmentShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFragmentShaderATI((UInt32)id); #if DEBUG } #endif @@ -23454,15 +23051,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static - void DeleteFragmentShader(Int32 id) + unsafe void DrawBuffers(Int32 n, AtiDrawBuffers* bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteFragmentShaderATI((UInt32)id); + Delegates.glDrawBuffersATI((Int32)n, (AtiDrawBuffers*)bufs); #if DEBUG } #endif @@ -23482,10 +23094,9 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static - void DrawBuffers(Int32 n, OpenTK.Graphics.AtiDrawBuffers[] bufs) + void DrawBuffers(Int32 n, AtiDrawBuffers[] bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23493,9 +23104,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.AtiDrawBuffers* bufs_ptr = bufs) + fixed (AtiDrawBuffers* bufs_ptr = bufs) { - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.AtiDrawBuffers*)bufs_ptr); + Delegates.glDrawBuffersATI((Int32)n, (AtiDrawBuffers*)bufs_ptr); } } #if DEBUG @@ -23517,40 +23128,9 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.AtiDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.AtiDrawBuffers*)bufs); - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - - [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.AtiDrawBuffers bufs) + void DrawBuffers(Int32 n, ref AtiDrawBuffers bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23558,9 +23138,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.AtiDrawBuffers* bufs_ptr = &bufs) + fixed (AtiDrawBuffers* bufs_ptr = &bufs) { - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.AtiDrawBuffers*)bufs_ptr); + Delegates.glDrawBuffersATI((Int32)n, (AtiDrawBuffers*)bufs_ptr); } } #if DEBUG @@ -23570,13 +23150,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayATI")] public static - void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 count) + void DrawElementArray(BeginMode mode, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementArrayATI((OpenTK.Graphics.BeginMode)mode, (Int32)count); + Delegates.glDrawElementArrayATI((BeginMode)mode, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(BeginMode mode, Int32 start, Int32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); #if DEBUG } #endif @@ -23585,27 +23179,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count) + void DrawRangeElementArray(BeginMode mode, UInt32 start, UInt32 end, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] - public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + Delegates.glDrawRangeElementArrayATI((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); #if DEBUG } #endif @@ -23613,7 +23193,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] ref T1 pointer) + void ElementPointer(AtiElementArray type, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -23623,7 +23203,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -23636,7 +23216,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,,] pointer) + void ElementPointer(AtiElementArray type, [In, Out] T1[,,] pointer) where T1 : struct { #if DEBUG @@ -23646,7 +23226,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -23659,7 +23239,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[] pointer) + void ElementPointer(AtiElementArray type, [In, Out] T1[,] pointer) where T1 : struct { #if DEBUG @@ -23669,7 +23249,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -23682,7 +23262,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,] pointer) + void ElementPointer(AtiElementArray type, [In, Out] T1[] pointer) where T1 : struct { #if DEBUG @@ -23692,7 +23272,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -23705,13 +23285,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, IntPtr pointer) + void ElementPointer(AtiElementArray type, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer); + Delegates.glElementPointerATI((AtiElementArray)type, (IntPtr)pointer); #if DEBUG } #endif @@ -23731,10 +23311,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] public static - void FreeObjectBuffer(UInt32 buffer) + void FreeObjectBuffer(Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23746,9 +23325,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] public static - void FreeObjectBuffer(Int32 buffer) + void FreeObjectBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23789,24 +23369,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] public static - unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] - public static - void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23816,7 +23381,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + Delegates.glGetArrayObjectfvATI((EnableCap)array, (AtiVertexArrayObject)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -23825,22 +23390,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] public static - void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + unsafe void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetArrayObjectfvATI((EnableCap)array, (AtiVertexArrayObject)pname, (Single*)@params); #if DEBUG } #endif @@ -23849,95 +23408,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] public static - unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + unsafe void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + Delegates.glGetArrayObjectivATI((EnableCap)array, (AtiVertexArrayObject)pname, (Int32*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] public static - void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + void GetArrayObject(EnableCap array, AtiVertexArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23947,7 +23432,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetArrayObjectivATI((EnableCap)array, (AtiVertexArrayObject)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -23956,9 +23441,97 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] public static - void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + unsafe void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + void GetObjectBuffer(Int32 buffer, AtiVertexArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23968,7 +23541,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -23980,13 +23553,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + unsafe void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -23995,36 +23568,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single[] param) + void GetObjectBuffer(UInt32 buffer, AtiVertexArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24032,9 +23576,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* param_ptr = param) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + Delegates.glGetObjectBufferivATI((UInt32)buffer, (AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -24044,7 +23589,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Single param) + void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] out Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24054,7 +23599,7 @@ namespace OpenTK.Graphics { fixed (Single* param_ptr = ¶m) { - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + Delegates.glGetTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr); param = *param_ptr; } } @@ -24063,9 +23608,59 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + unsafe void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glGetTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32[] param) + unsafe void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] Int32[] param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24075,7 +23670,7 @@ namespace OpenTK.Graphics { fixed (Int32* param_ptr = param) { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + Delegates.glGetTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr); } } #if DEBUG @@ -24085,7 +23680,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Int32 param) + void GetTexBumpParameter(AtiEnvmapBumpmap pname, [Out] out Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24095,7 +23690,7 @@ namespace OpenTK.Graphics { fixed (Int32* param_ptr = ¶m) { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + Delegates.glGetTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr); param = *param_ptr; } } @@ -24104,25 +23699,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24132,7 +23711,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -24141,9 +23720,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + unsafe void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24153,7 +23748,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -24165,28 +23760,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + unsafe void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (AtiVertexArrayObject)pname, (Single*)@params); #if DEBUG } #endif @@ -24195,7 +23775,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + unsafe void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + void GetVariantArrayObject(Int32 id, AtiVertexArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24205,7 +23799,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -24217,13 +23811,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + unsafe void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -24232,21 +23826,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + void GetVariantArrayObject(UInt32 id, AtiVertexArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24256,7 +23836,28 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -24268,20 +23869,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] out Single @params) + unsafe void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params); #if DEBUG } #endif @@ -24289,7 +23883,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) + void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24299,7 +23893,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); } } #if DEBUG @@ -24310,57 +23904,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] out Single @params) + void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24370,7 +23914,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -24379,23 +23923,52 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + unsafe void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] out Int32 @params) + unsafe void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -24403,29 +23976,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) + void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24435,7 +23986,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -24445,7 +23996,44 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) + void GetVertexAttribArrayObject(Int32 index, AtiVertexAttribArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + unsafe void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24455,7 +24043,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -24466,28 +24054,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params) + void GetVertexAttribArrayObject(UInt32 index, AtiVertexAttribArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params); - #if DEBUG + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -24554,7 +24134,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, AtiVertexArrayObject usage) where T1 : struct { #if DEBUG @@ -24564,7 +24144,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage); } finally { @@ -24577,7 +24157,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,,] pointer, AtiVertexArrayObject usage) where T1 : struct { #if DEBUG @@ -24587,7 +24167,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage); } finally { @@ -24600,7 +24180,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,] pointer, AtiVertexArrayObject usage) where T1 : struct { #if DEBUG @@ -24610,7 +24190,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage); } finally { @@ -24623,7 +24203,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, AtiVertexArrayObject usage) where T1 : struct { #if DEBUG @@ -24633,7 +24213,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)usage); } finally { @@ -24646,13 +24226,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + Int32 NewObjectBuffer(Int32 size, IntPtr pointer, AtiVertexArrayObject usage) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)usage); + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (AtiVertexArrayObject)usage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] + public static + void NormalStream3(AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bATI((AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); #if DEBUG } #endif @@ -24661,27 +24255,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) + void NormalStream3(AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3bATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); + Delegates.glNormalStream3bATI((AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); #if DEBUG } #endif @@ -24690,28 +24270,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords) + unsafe void NormalStream3(AtiVertexStreams stream, Byte* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); + Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords); #if DEBUG } #endif @@ -24719,7 +24284,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte[] coords) + void NormalStream3(AtiVertexStreams stream, Byte[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24729,49 +24294,7 @@ namespace OpenTK.Graphics { fixed (Byte* coords_ptr = coords) { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr); } } #if DEBUG @@ -24781,7 +24304,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Byte coords) + void NormalStream3(AtiVertexStreams stream, ref Byte coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24791,7 +24314,64 @@ namespace OpenTK.Graphics { fixed (Byte* coords_ptr = &coords) { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(AtiVertexStreams stream, ref SByte coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = &coords) + { + Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + unsafe void NormalStream3(AtiVertexStreams stream, SByte* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(AtiVertexStreams stream, SByte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((AtiVertexStreams)stream, (SByte*)coords_ptr); } } #if DEBUG @@ -24801,33 +24381,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz) + void NormalStream3(AtiVertexStreams stream, Double nx, Double ny, Double nz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } + Delegates.glNormalStream3dATI((AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); #if DEBUG } #endif @@ -24836,13 +24396,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + unsafe void NormalStream3(AtiVertexStreams stream, Double* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + Delegates.glNormalStream3dvATI((AtiVertexStreams)stream, (Double*)coords); #if DEBUG } #endif @@ -24850,7 +24410,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + void NormalStream3(AtiVertexStreams stream, Double[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24860,7 +24420,27 @@ namespace OpenTK.Graphics { fixed (Double* coords_ptr = coords) { - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + Delegates.glNormalStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + void NormalStream3(AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glNormalStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); } } #if DEBUG @@ -24870,28 +24450,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single nx, Single ny, Single nz) + void NormalStream3(AtiVertexStreams stream, Single nx, Single ny, Single nz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + Delegates.glNormalStream3fATI((AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); #if DEBUG } #endif @@ -24899,27 +24464,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + void NormalStream3(AtiVertexStreams stream, ref Single coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24929,7 +24474,42 @@ namespace OpenTK.Graphics { fixed (Single* coords_ptr = &coords) { - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + Delegates.glNormalStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + unsafe void NormalStream3(AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3fvATI((AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + void NormalStream3(AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glNormalStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); } } #if DEBUG @@ -24939,13 +24519,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3iATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) + void NormalStream3(AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); + Delegates.glNormalStream3iATI((AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + unsafe void NormalStream3(AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3ivATI((AtiVertexStreams)stream, (Int32*)coords); #if DEBUG } #endif @@ -24953,7 +24548,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + void NormalStream3(AtiVertexStreams stream, Int32[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24963,7 +24558,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = coords) { - Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glNormalStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -24971,24 +24566,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + void NormalStream3(AtiVertexStreams stream, ref Int32 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24998,7 +24578,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = &coords) { - Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glNormalStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -25008,13 +24588,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3sATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) + void NormalStream3(AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormalStream3sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); + Delegates.glNormalStream3sATI((AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + unsafe void NormalStream3(AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3svATI((AtiVertexStreams)stream, (Int16*)coords); #if DEBUG } #endif @@ -25022,7 +24617,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + void NormalStream3(AtiVertexStreams stream, Int16[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25032,7 +24627,7 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = coords) { - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glNormalStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -25040,24 +24635,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + void NormalStream3(AtiVertexStreams stream, ref Int16 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25067,7 +24647,7 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = &coords) { - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glNormalStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -25075,30 +24655,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] public static - void PassTexCoor(UInt32 dst, UInt32 coord, OpenTK.Graphics.AtiFragmentShader swizzle) + void PassTexCoor(Int32 dst, Int32 coord, AtiFragmentShader swizzle) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.AtiFragmentShader)swizzle); + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (AtiFragmentShader)swizzle); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] public static - void PassTexCoor(Int32 dst, Int32 coord, OpenTK.Graphics.AtiFragmentShader swizzle) + void PassTexCoor(UInt32 dst, UInt32 coord, AtiFragmentShader swizzle) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.AtiFragmentShader)swizzle); + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (AtiFragmentShader)swizzle); #if DEBUG } #endif @@ -25106,13 +24686,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesfATI")] public static - void PNTriangles(OpenTK.Graphics.AtiPnTriangles pname, Single param) + void PNTriangles(AtiPnTriangles pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPNTrianglesfATI((OpenTK.Graphics.AtiPnTriangles)pname, (Single)param); + Delegates.glPNTrianglesfATI((AtiPnTriangles)pname, (Single)param); #if DEBUG } #endif @@ -25120,13 +24700,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesiATI")] public static - void PNTriangles(OpenTK.Graphics.AtiPnTriangles pname, Int32 param) + void PNTriangles(AtiPnTriangles pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPNTrianglesiATI((OpenTK.Graphics.AtiPnTriangles)pname, (Int32)param); + Delegates.glPNTrianglesiATI((AtiPnTriangles)pname, (Int32)param); #if DEBUG } #endif @@ -25134,13 +24714,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")] public static - void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.AtiFragmentShader swizzle) + void SampleMap(Int32 dst, Int32 interp, AtiFragmentShader swizzle) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.AtiFragmentShader)swizzle); + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (AtiFragmentShader)swizzle); #if DEBUG } #endif @@ -25149,13 +24729,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")] public static - void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.AtiFragmentShader swizzle) + void SampleMap(UInt32 dst, UInt32 interp, AtiFragmentShader swizzle) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.AtiFragmentShader)swizzle); + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (AtiFragmentShader)swizzle); #if DEBUG } #endif @@ -25163,7 +24743,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] public static - void SetFragmentShaderConstant(Int32 dst, Single[] value) + void SetFragmentShaderConstant(Int32 dst, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25171,7 +24751,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); } @@ -25184,7 +24764,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] public static - void SetFragmentShaderConstant(UInt32 dst, Single[] value) + unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(Int32 dst, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25223,26 +24817,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(Int32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] public static @@ -25261,13 +24835,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] public static - unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) + void SetFragmentShaderConstant(UInt32 dst, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -25297,56 +24877,54 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] + public static + void StencilFuncSeparate(StencilFunction frontfunc, StencilFunction backfunc, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparateATI((StencilFunction)frontfunc, (StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + /// + /// Set front and/or back function and reference value for stencil testing + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask) + void StencilFuncSeparate(StencilFunction frontfunc, StencilFunction backfunc, Int32 @ref, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back function and reference value for stencil testing - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. - /// - /// - - [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] - public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + Delegates.glStencilFuncSeparateATI((StencilFunction)frontfunc, (StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); #if DEBUG } #endif @@ -25376,16 +24954,15 @@ namespace OpenTK.Graphics /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. /// /// - [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")] public static - void StencilOpSeparate(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) + void StencilOpSeparate(AtiSeparateStencil face, StencilOp sfail, StencilOp dpfail, StencilOp dppass) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilOpSeparateATI((OpenTK.Graphics.AtiSeparateStencil)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); + Delegates.glStencilOpSeparateATI((AtiSeparateStencil)face, (StencilOp)sfail, (StencilOp)dpfail, (StencilOp)dppass); #if DEBUG } #endif @@ -25393,27 +24970,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] - public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, ref Single param) + void TexBumpParameter(AtiEnvmapBumpmap pname, ref Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25423,7 +24980,7 @@ namespace OpenTK.Graphics { fixed (Single* param_ptr = ¶m) { - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + Delegates.glTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr); } } #if DEBUG @@ -25434,13 +24991,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] public static - unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param) + unsafe void TexBumpParameter(AtiEnvmapBumpmap pname, Single* param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); + Delegates.glTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + void TexBumpParameter(AtiEnvmapBumpmap pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glTexBumpParameterfvATI((AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } #if DEBUG } #endif @@ -25449,13 +25026,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] public static - unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32* param) + unsafe void TexBumpParameter(AtiEnvmapBumpmap pname, Int32* param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param); + Delegates.glTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param); #if DEBUG } #endif @@ -25463,27 +25040,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] - public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32[] param) + void TexBumpParameter(AtiEnvmapBumpmap pname, Int32[] param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25493,7 +25050,27 @@ namespace OpenTK.Graphics { fixed (Int32* param_ptr = param) { - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + Delegates.glTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + void TexBumpParameter(AtiEnvmapBumpmap pname, ref Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glTexBumpParameterivATI((AtiEnvmapBumpmap)pname, (Int32*)param_ptr); } } #if DEBUG @@ -25530,24 +25107,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -25557,7 +25119,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); } finally { @@ -25570,7 +25132,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -25580,7 +25142,91 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, AtiVertexArrayObject preserve) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (AtiVertexArrayObject)preserve); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); } finally { @@ -25594,7 +25240,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,,] pointer, AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -25604,7 +25250,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); } finally { @@ -25618,7 +25264,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,] pointer, AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -25628,7 +25274,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); } finally { @@ -25642,7 +25288,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -25652,7 +25298,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (AtiVertexArrayObject)preserve); } finally { @@ -25663,85 +25309,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, AtiVertexArrayObject preserve) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (AtiVertexArrayObject)preserve); #if DEBUG } #endif @@ -25749,13 +25326,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] public static - void VariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) + void VariantArrayObject(Int32 id, AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + Delegates.glVariantArrayObjectATI((UInt32)id, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); #if DEBUG } #endif @@ -25764,13 +25341,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] public static - void VariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + void VariantArrayObject(UInt32 id, AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + Delegates.glVariantArrayObjectATI((UInt32)id, (AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(Int32 index, Int32 size, AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); #if DEBUG } #endif @@ -25779,27 +25370,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] public static - void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + void VertexAttribArrayObject(UInt32 index, Int32 size, AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] - public static - void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); #if DEBUG } #endif @@ -25807,13 +25384,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnvfATI")] public static - void VertexBlendEnv(OpenTK.Graphics.AtiVertexStreams pname, Single param) + void VertexBlendEnv(AtiVertexStreams pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.AtiVertexStreams)pname, (Single)param); + Delegates.glVertexBlendEnvfATI((AtiVertexStreams)pname, (Single)param); #if DEBUG } #endif @@ -25821,13 +25398,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnviATI")] public static - void VertexBlendEnv(OpenTK.Graphics.AtiVertexStreams pname, Int32 param) + void VertexBlendEnv(AtiVertexStreams pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexBlendEnviATI((OpenTK.Graphics.AtiVertexStreams)pname, (Int32)param); + Delegates.glVertexBlendEnviATI((AtiVertexStreams)pname, (Int32)param); #if DEBUG } #endif @@ -25835,13 +25412,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dATI")] public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Double x) + void VertexStream1(AtiVertexStreams stream, Double x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x); + Delegates.glVertexStream1dATI((AtiVertexStreams)stream, (Double)x); #if DEBUG } #endif @@ -25850,13 +25427,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dvATI")] public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + unsafe void VertexStream1(AtiVertexStreams stream, Double* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + Delegates.glVertexStream1dvATI((AtiVertexStreams)stream, (Double*)coords); #if DEBUG } #endif @@ -25864,13 +25441,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fATI")] public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Single x) + void VertexStream1(AtiVertexStreams stream, Single x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x); + Delegates.glVertexStream1fATI((AtiVertexStreams)stream, (Single)x); #if DEBUG } #endif @@ -25879,13 +25456,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fvATI")] public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + unsafe void VertexStream1(AtiVertexStreams stream, Single* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + Delegates.glVertexStream1fvATI((AtiVertexStreams)stream, (Single*)coords); #if DEBUG } #endif @@ -25893,13 +25470,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1iATI")] public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int32 x) + void VertexStream1(AtiVertexStreams stream, Int32 x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x); + Delegates.glVertexStream1iATI((AtiVertexStreams)stream, (Int32)x); #if DEBUG } #endif @@ -25908,13 +25485,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1ivATI")] public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + unsafe void VertexStream1(AtiVertexStreams stream, Int32* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + Delegates.glVertexStream1ivATI((AtiVertexStreams)stream, (Int32*)coords); #if DEBUG } #endif @@ -25922,13 +25499,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1sATI")] public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int16 x) + void VertexStream1(AtiVertexStreams stream, Int16 x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x); + Delegates.glVertexStream1sATI((AtiVertexStreams)stream, (Int16)x); #if DEBUG } #endif @@ -25937,13 +25514,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1svATI")] public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + unsafe void VertexStream1(AtiVertexStreams stream, Int16* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream1svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + Delegates.glVertexStream1svATI((AtiVertexStreams)stream, (Int16*)coords); #if DEBUG } #endif @@ -25951,13 +25528,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y) + void VertexStream2(AtiVertexStreams stream, Double x, Double y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream2dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y); + Delegates.glVertexStream2dATI((AtiVertexStreams)stream, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + unsafe void VertexStream2(AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2dvATI((AtiVertexStreams)stream, (Double*)coords); #if DEBUG } #endif @@ -25965,7 +25557,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + void VertexStream2(AtiVertexStreams stream, Double[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25975,7 +25567,7 @@ namespace OpenTK.Graphics { fixed (Double* coords_ptr = coords) { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + Delegates.glVertexStream2dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); } } #if DEBUG @@ -25985,7 +25577,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + void VertexStream2(AtiVertexStreams stream, ref Double coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25995,7 +25587,7 @@ namespace OpenTK.Graphics { fixed (Double* coords_ptr = &coords) { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + Delegates.glVertexStream2dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); } } #if DEBUG @@ -26003,30 +25595,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y) + void VertexStream2(AtiVertexStreams stream, Single x, Single y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream2fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y); + Delegates.glVertexStream2fATI((AtiVertexStreams)stream, (Single)x, (Single)y); #if DEBUG } #endif @@ -26034,42 +25611,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + void VertexStream2(AtiVertexStreams stream, ref Single coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26079,7 +25621,42 @@ namespace OpenTK.Graphics { fixed (Single* coords_ptr = &coords) { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + Delegates.glVertexStream2fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + unsafe void VertexStream2(AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2fvATI((AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + void VertexStream2(AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream2fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); } } #if DEBUG @@ -26089,13 +25666,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2iATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y) + void VertexStream2(AtiVertexStreams stream, Int32 x, Int32 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream2iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y); + Delegates.glVertexStream2iATI((AtiVertexStreams)stream, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + unsafe void VertexStream2(AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2ivATI((AtiVertexStreams)stream, (Int32*)coords); #if DEBUG } #endif @@ -26103,27 +25695,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + void VertexStream2(AtiVertexStreams stream, Int32[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26133,7 +25705,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = coords) { - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glVertexStream2ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -26141,16 +25713,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + void VertexStream2(AtiVertexStreams stream, ref Int32 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream2ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } #if DEBUG } #endif @@ -26158,13 +25735,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2sATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y) + void VertexStream2(AtiVertexStreams stream, Int16 x, Int16 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream2sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y); + Delegates.glVertexStream2sATI((AtiVertexStreams)stream, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + unsafe void VertexStream2(AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2svATI((AtiVertexStreams)stream, (Int16*)coords); #if DEBUG } #endif @@ -26172,7 +25764,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + void VertexStream2(AtiVertexStreams stream, Int16[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26182,7 +25774,7 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = coords) { - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glVertexStream2svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -26192,7 +25784,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + void VertexStream2(AtiVertexStreams stream, ref Int16 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26202,7 +25794,7 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = &coords) { - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glVertexStream2svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -26210,50 +25802,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z) + void VertexStream3(AtiVertexStreams stream, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } + Delegates.glVertexStream3dATI((AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); #if DEBUG } #endif @@ -26262,13 +25819,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + unsafe void VertexStream3(AtiVertexStreams stream, Double* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + Delegates.glVertexStream3dvATI((AtiVertexStreams)stream, (Double*)coords); #if DEBUG } #endif @@ -26276,7 +25833,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + void VertexStream3(AtiVertexStreams stream, Double[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26286,7 +25843,27 @@ namespace OpenTK.Graphics { fixed (Double* coords_ptr = coords) { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + Delegates.glVertexStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + void VertexStream3(AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream3dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); } } #if DEBUG @@ -26296,13 +25873,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z) + void VertexStream3(AtiVertexStreams stream, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); + Delegates.glVertexStream3fATI((AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -26310,7 +25887,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + void VertexStream3(AtiVertexStreams stream, ref Single coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26320,7 +25897,7 @@ namespace OpenTK.Graphics { fixed (Single* coords_ptr = &coords) { - Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + Delegates.glVertexStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); } } #if DEBUG @@ -26328,9 +25905,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + unsafe void VertexStream3(AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3fvATI((AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + void VertexStream3(AtiVertexStreams stream, Single[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26340,7 +25932,7 @@ namespace OpenTK.Graphics { fixed (Single* coords_ptr = coords) { - Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + Delegates.glVertexStream3fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); } } #if DEBUG @@ -26348,30 +25940,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3iATI")] public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + void VertexStream3(AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + Delegates.glVertexStream3iATI((AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); #if DEBUG } #endif } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3iATI")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) + unsafe void VertexStream3(AtiVertexStreams stream, Int32* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); + Delegates.glVertexStream3ivATI((AtiVertexStreams)stream, (Int32*)coords); #if DEBUG } #endif @@ -26379,7 +25971,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + void VertexStream3(AtiVertexStreams stream, Int32[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26389,7 +25981,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = coords) { - Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glVertexStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -26399,7 +25991,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + void VertexStream3(AtiVertexStreams stream, ref Int32 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26409,7 +26001,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = &coords) { - Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glVertexStream3ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -26417,30 +26009,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3sATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) + void VertexStream3(AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); + Delegates.glVertexStream3sATI((AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); #if DEBUG } #endif @@ -26449,13 +26026,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + unsafe void VertexStream3(AtiVertexStreams stream, Int16* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + Delegates.glVertexStream3svATI((AtiVertexStreams)stream, (Int16*)coords); #if DEBUG } #endif @@ -26463,27 +26040,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + void VertexStream3(AtiVertexStreams stream, Int16[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26493,7 +26050,27 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = coords) { - Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glVertexStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + void VertexStream3(AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream3svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -26503,13 +26080,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z, Double w) + void VertexStream4(AtiVertexStreams stream, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glVertexStream4dATI((AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + unsafe void VertexStream4(AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4dvATI((AtiVertexStreams)stream, (Double*)coords); #if DEBUG } #endif @@ -26517,7 +26109,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + void VertexStream4(AtiVertexStreams stream, Double[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26527,7 +26119,7 @@ namespace OpenTK.Graphics { fixed (Double* coords_ptr = coords) { - Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + Delegates.glVertexStream4dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); } } #if DEBUG @@ -26535,24 +26127,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + void VertexStream4(AtiVertexStreams stream, ref Double coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26562,7 +26139,7 @@ namespace OpenTK.Graphics { fixed (Double* coords_ptr = &coords) { - Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + Delegates.glVertexStream4dvATI((AtiVertexStreams)stream, (Double*)coords_ptr); } } #if DEBUG @@ -26572,13 +26149,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z, Single w) + void VertexStream4(AtiVertexStreams stream, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glVertexStream4fATI((AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -26586,27 +26163,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + void VertexStream4(AtiVertexStreams stream, ref Single coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26616,7 +26173,7 @@ namespace OpenTK.Graphics { fixed (Single* coords_ptr = &coords) { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + Delegates.glVertexStream4fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); } } #if DEBUG @@ -26627,13 +26184,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + unsafe void VertexStream4(AtiVertexStreams stream, Single* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + Delegates.glVertexStream4fvATI((AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + void VertexStream4(AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream4fvATI((AtiVertexStreams)stream, (Single*)coords_ptr); + } + } #if DEBUG } #endif @@ -26641,13 +26218,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4iATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) + void VertexStream4(AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glVertexStream4iATI((AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -26656,13 +26233,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + unsafe void VertexStream4(AtiVertexStreams stream, Int32* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + Delegates.glVertexStream4ivATI((AtiVertexStreams)stream, (Int32*)coords); #if DEBUG } #endif @@ -26670,7 +26247,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + void VertexStream4(AtiVertexStreams stream, Int32[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26680,7 +26257,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = coords) { - Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glVertexStream4ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -26690,7 +26267,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + void VertexStream4(AtiVertexStreams stream, ref Int32 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26700,7 +26277,7 @@ namespace OpenTK.Graphics { fixed (Int32* coords_ptr = &coords) { - Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + Delegates.glVertexStream4ivATI((AtiVertexStreams)stream, (Int32*)coords_ptr); } } #if DEBUG @@ -26710,13 +26287,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4sATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) + void VertexStream4(AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + Delegates.glVertexStream4sATI((AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + unsafe void VertexStream4(AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4svATI((AtiVertexStreams)stream, (Int16*)coords); #if DEBUG } #endif @@ -26724,7 +26316,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + void VertexStream4(AtiVertexStreams stream, Int16[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26734,7 +26326,7 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = coords) { - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glVertexStream4svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -26742,24 +26334,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + void VertexStream4(AtiVertexStreams stream, ref Int16 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26769,7 +26346,7 @@ namespace OpenTK.Graphics { fixed (Int16* coords_ptr = &coords) { - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + Delegates.glVertexStream4svATI((AtiVertexStreams)stream, (Int16*)coords_ptr); } } #if DEBUG @@ -26793,16 +26370,15 @@ namespace OpenTK.Graphics /// Specifies a floating-point value used in the accumulation buffer operation. op determines how value is used. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAccum")] public static - void Accum(OpenTK.Graphics.AccumOp op, Single value) + void Accum(AccumOp op, Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAccum((OpenTK.Graphics.AccumOp)op, (Single)value); + Delegates.glAccum((AccumOp)op, (Single)value); #if DEBUG } #endif @@ -26817,16 +26393,15 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glActiveTexture")] public static - void ActiveTexture(OpenTK.Graphics.TextureUnit texture) + void ActiveTexture(TextureUnit texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glActiveTexture((OpenTK.Graphics.TextureUnit)texture); + Delegates.glActiveTexture((TextureUnit)texture); #if DEBUG } #endif @@ -26846,16 +26421,15 @@ namespace OpenTK.Graphics /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAlphaFunc")] public static - void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref) + void AlphaFunc(AlphaFunction func, Single @ref) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFunc((OpenTK.Graphics.AlphaFunction)func, (Single)@ref); + Delegates.glAlphaFunc((AlphaFunction)func, (Single)@ref); #if DEBUG } #endif @@ -26880,7 +26454,40 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) @@ -26921,11 +26528,9 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences) + bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26933,10 +26538,12 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) + fixed (Int32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; } } #if DEBUG @@ -26963,77 +26570,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static @@ -27077,10 +26613,44 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -27088,12 +26658,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) + fixed (UInt32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) { - bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); } } #if DEBUG @@ -27110,7 +26678,6 @@ namespace OpenTK.Graphics /// Specifies an index into the enabled vertex data arrays. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glArrayElement")] public static void ArrayElement(Int32 i) @@ -27139,11 +26706,9 @@ namespace OpenTK.Graphics /// Specifies the shader object that is to be attached. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] public static - void AttachShader(UInt32 program, UInt32 shader) + void AttachShader(Int32 program, Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -27169,10 +26734,10 @@ namespace OpenTK.Graphics /// Specifies the shader object that is to be attached. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] public static - void AttachShader(Int32 program, Int32 shader) + void AttachShader(UInt32 program, UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -27193,17 +26758,16 @@ namespace OpenTK.Graphics /// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBegin")] public static - void Begin(OpenTK.Graphics.BeginMode mode) + void Begin(BeginMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { GraphicsContext.CurrentContext.ErrorChecking = false; #endif - Delegates.glBegin((OpenTK.Graphics.BeginMode)mode); + Delegates.glBegin((BeginMode)mode); #if DEBUG } #endif @@ -27211,13 +26775,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")] public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.ConditionalRenderType mode) + void BeginConditionalRender(Int32 id, ConditionalRenderType mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.ConditionalRenderType)mode); + Delegates.glBeginConditionalRender((UInt32)id, (ConditionalRenderType)mode); #if DEBUG } #endif @@ -27226,13 +26790,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")] public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.ConditionalRenderType mode) + void BeginConditionalRender(UInt32 id, ConditionalRenderType mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.ConditionalRenderType)mode); + Delegates.glBeginConditionalRender((UInt32)id, (ConditionalRenderType)mode); #if DEBUG } #endif @@ -27252,16 +26816,15 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] public static - void BeginQuery(OpenTK.Graphics.QueryTarget target, Int32 id) + void BeginQuery(QueryTarget target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id); + Delegates.glBeginQuery((QueryTarget)target, (UInt32)id); #if DEBUG } #endif @@ -27281,17 +26844,16 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] public static - void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id) + void BeginQuery(QueryTarget target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id); + Delegates.glBeginQuery((QueryTarget)target, (UInt32)id); #if DEBUG } #endif @@ -27299,13 +26861,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] public static - void BeginTransformFeedback(OpenTK.Graphics.BeginFeedbackMode primitiveMode) + void BeginTransformFeedback(BeginFeedbackMode primitiveMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.BeginFeedbackMode)primitiveMode); + Delegates.glBeginTransformFeedback((BeginFeedbackMode)primitiveMode); #if DEBUG } #endif @@ -27330,7 +26892,39 @@ namespace OpenTK.Graphics /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(Int32 program, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] public static @@ -27348,33 +26942,27 @@ namespace OpenTK.Graphics /// - /// Associates a generic vertex attribute index with a named attribute variable + /// Bind a named buffer object /// - /// + /// /// - /// Specifies the handle of the program object in which the association is to be made. + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. /// /// - /// + /// /// - /// Specifies the index of the generic vertex attribute to be bound. + /// Specifies the name of a buffer object. /// /// - /// - /// - /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] public static - void BindAttribLocation(Int32 program, Int32 index, String name) + void BindBuffer(BufferTarget target, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + Delegates.glBindBuffer((BufferTarget)target, (UInt32)buffer); #if DEBUG } #endif @@ -27394,46 +26982,30 @@ namespace OpenTK.Graphics /// Specifies the name of a buffer object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] public static - void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer) + void BindBuffer(BufferTarget target, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer); + Delegates.glBindBuffer((BufferTarget)target, (UInt32)buffer); #if DEBUG } #endif } - - /// - /// Bind a named buffer object - /// - /// - /// - /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the name of a buffer object. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] public static - void BindBuffer(OpenTK.Graphics.BufferTarget target, Int32 buffer) + void BindBufferBase(BufferTarget target, Int32 index, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer); + Delegates.glBindBufferBase((BufferTarget)target, (UInt32)index, (UInt32)buffer); #if DEBUG } #endif @@ -27442,27 +27014,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] public static - void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer) + void BindBufferBase(BufferTarget target, UInt32 index, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferBase((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer); + Delegates.glBindBufferBase((BufferTarget)target, (UInt32)index, (UInt32)buffer); #if DEBUG } #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] public static - void BindBufferBase(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer) + void BindBufferRange(BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferBase((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer); + Delegates.glBindBufferRange((BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif @@ -27471,27 +27043,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] public static - void BindBufferRange(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + void BindBufferRange(BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferRange((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + Delegates.glBindBufferRange((BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif @@ -27526,30 +27084,44 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")] public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) + void BindFramebuffer(FramebufferTarget target, Int32 framebuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + Delegates.glBindFramebuffer((FramebufferTarget)target, (UInt32)framebuffer); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")] public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) + void BindFramebuffer(FramebufferTarget target, UInt32 framebuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + Delegates.glBindFramebuffer((FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((RenderbufferTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -27558,27 +27130,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) + void BindRenderbuffer(RenderbufferTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); + Delegates.glBindRenderbuffer((RenderbufferTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -27598,16 +27156,15 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) + void BindTexture(TextureTarget target, Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + Delegates.glBindTexture((TextureTarget)target, (UInt32)texture); #if DEBUG } #endif @@ -27627,17 +27184,16 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) + void BindTexture(TextureTarget target, UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + Delegates.glBindTexture((TextureTarget)target, (UInt32)texture); #if DEBUG } #endif @@ -27696,7 +27252,6 @@ namespace OpenTK.Graphics /// Specifies the address of the bitmap image. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] public static @@ -27736,10 +27291,9 @@ namespace OpenTK.Graphics /// Specifies the address of the bitmap image. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -27747,7 +27301,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* bitmap_ptr = &bitmap) + fixed (Byte* bitmap_ptr = bitmap) { Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); } @@ -27781,10 +27335,9 @@ namespace OpenTK.Graphics /// Specifies the address of the bitmap image. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -27792,7 +27345,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* bitmap_ptr = bitmap) + fixed (Byte* bitmap_ptr = &bitmap) { Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); } @@ -27811,7 +27364,6 @@ namespace OpenTK.Graphics /// specify the components of GL_BLEND_COLOR /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendColor")] public static void BlendColor(Single red, Single green, Single blue, Single alpha) @@ -27835,16 +27387,15 @@ namespace OpenTK.Graphics /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendEquation")] public static - void BlendEquation(OpenTK.Graphics.BlendEquationMode mode) + void BlendEquation(BlendEquationMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquation((OpenTK.Graphics.BlendEquationMode)mode); + Delegates.glBlendEquation((BlendEquationMode)mode); #if DEBUG } #endif @@ -27859,41 +27410,39 @@ namespace OpenTK.Graphics /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")] + public static + void BlendEquation(Int32 buf, ArbDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationi((UInt32)buf, (ArbDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + /// + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")] public static - void BlendEquation(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode) + void BlendEquation(UInt32 buf, ArbDrawBuffersBlend mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)mode); - #if DEBUG - } - #endif - } - - - /// - /// Specify the equation used for both the RGB blend equation and the Alpha blend equation - /// - /// - /// - /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - - [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")] - public static - void BlendEquation(Int32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)mode); + Delegates.glBlendEquationi((UInt32)buf, (ArbDrawBuffersBlend)mode); #if DEBUG } #endif @@ -27913,16 +27462,15 @@ namespace OpenTK.Graphics /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] public static - void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) + void BlendEquationSeparate(BlendEquationMode modeRGB, BlendEquationMode modeAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); + Delegates.glBlendEquationSeparate((BlendEquationMode)modeRGB, (BlendEquationMode)modeAlpha); #if DEBUG } #endif @@ -27942,16 +27490,15 @@ namespace OpenTK.Graphics /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")] public static - void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) + void BlendEquationSeparate(Int32 buf, BlendEquationMode modeRGB, BlendEquationMode modeAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); + Delegates.glBlendEquationSeparatei((UInt32)buf, (BlendEquationMode)modeRGB, (BlendEquationMode)modeAlpha); #if DEBUG } #endif @@ -27971,17 +27518,16 @@ namespace OpenTK.Graphics /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")] public static - void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) + void BlendEquationSeparate(UInt32 buf, BlendEquationMode modeRGB, BlendEquationMode modeAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); + Delegates.glBlendEquationSeparatei((UInt32)buf, (BlendEquationMode)modeRGB, (BlendEquationMode)modeAlpha); #if DEBUG } #endif @@ -28001,16 +27547,15 @@ namespace OpenTK.Graphics /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glBlendFunc")] public static - void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor) + void BlendFunc(BlendingFactorSrc sfactor, BlendingFactorDest dfactor) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFunc((OpenTK.Graphics.BlendingFactorSrc)sfactor, (OpenTK.Graphics.BlendingFactorDest)dfactor); + Delegates.glBlendFunc((BlendingFactorSrc)sfactor, (BlendingFactorDest)dfactor); #if DEBUG } #endif @@ -28030,46 +27575,44 @@ namespace OpenTK.Graphics /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. /// /// + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")] + public static + void BlendFunc(Int32 buf, ArbDrawBuffersBlend src, ArbDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunci((UInt32)buf, (ArbDrawBuffersBlend)src, (ArbDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + /// + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")] public static - void BlendFunc(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst) + void BlendFunc(UInt32 buf, ArbDrawBuffersBlend src, ArbDrawBuffersBlend dst) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)src, (OpenTK.Graphics.ArbDrawBuffersBlend)dst); - #if DEBUG - } - #endif - } - - - /// - /// Specify pixel arithmetic - /// - /// - /// - /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. - /// - /// - /// - /// - /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. - /// - /// - - [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")] - public static - void BlendFunc(Int32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)src, (OpenTK.Graphics.ArbDrawBuffersBlend)dst); + Delegates.glBlendFunci((UInt32)buf, (ArbDrawBuffersBlend)src, (ArbDrawBuffersBlend)dst); #if DEBUG } #endif @@ -28099,16 +27642,15 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] public static - void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha) + void BlendFuncSeparate(BlendingFactorSrc sfactorRGB, BlendingFactorDest dfactorRGB, BlendingFactorSrc sfactorAlpha, BlendingFactorDest dfactorAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.BlendingFactorDest)dfactorAlpha); + Delegates.glBlendFuncSeparate((BlendingFactorSrc)sfactorRGB, (BlendingFactorDest)dfactorRGB, (BlendingFactorSrc)sfactorAlpha, (BlendingFactorDest)dfactorAlpha); #if DEBUG } #endif @@ -28138,16 +27680,15 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// - [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")] public static - void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha) + void BlendFuncSeparate(Int32 buf, ArbDrawBuffersBlend srcRGB, ArbDrawBuffersBlend dstRGB, ArbDrawBuffersBlend srcAlpha, ArbDrawBuffersBlend dstAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.ArbDrawBuffersBlend)dstAlpha); + Delegates.glBlendFuncSeparatei((UInt32)buf, (ArbDrawBuffersBlend)srcRGB, (ArbDrawBuffersBlend)dstRGB, (ArbDrawBuffersBlend)srcAlpha, (ArbDrawBuffersBlend)dstAlpha); #if DEBUG } #endif @@ -28177,17 +27718,16 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")] public static - void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha) + void BlendFuncSeparate(UInt32 buf, ArbDrawBuffersBlend srcRGB, ArbDrawBuffersBlend dstRGB, ArbDrawBuffersBlend srcAlpha, ArbDrawBuffersBlend dstAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.ArbDrawBuffersBlend)dstAlpha); + Delegates.glBlendFuncSeparatei((UInt32)buf, (ArbDrawBuffersBlend)srcRGB, (ArbDrawBuffersBlend)dstRGB, (ArbDrawBuffersBlend)srcAlpha, (ArbDrawBuffersBlend)dstAlpha); #if DEBUG } #endif @@ -28195,13 +27735,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBlitFramebuffer")] public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter) + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, ClearBufferMask mask, BlitFramebufferFilter filter) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.BlitFramebufferFilter)filter); + Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (ClearBufferMask)mask, (BlitFramebufferFilter)filter); #if DEBUG } #endif @@ -28231,10 +27771,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageHint usage) + void BufferData(BufferTarget target, IntPtr size, [In, Out] ref T2 data, BufferUsageHint usage) where T2 : struct { #if DEBUG @@ -28244,7 +27783,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage); } finally { @@ -28279,10 +27818,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageHint usage) + void BufferData(BufferTarget target, IntPtr size, [In, Out] T2[,,] data, BufferUsageHint usage) where T2 : struct { #if DEBUG @@ -28292,7 +27830,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage); } finally { @@ -28327,10 +27865,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageHint usage) + void BufferData(BufferTarget target, IntPtr size, [In, Out] T2[,] data, BufferUsageHint usage) where T2 : struct { #if DEBUG @@ -28340,7 +27877,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage); } finally { @@ -28375,10 +27912,9 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageHint usage) + void BufferData(BufferTarget target, IntPtr size, [In, Out] T2[] data, BufferUsageHint usage) where T2 : struct { #if DEBUG @@ -28388,7 +27924,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (BufferUsageHint)usage); } finally { @@ -28423,16 +27959,15 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage) + void BufferData(BufferTarget target, IntPtr size, IntPtr data, BufferUsageHint usage) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageHint)usage); + Delegates.glBufferData((BufferTarget)target, (IntPtr)size, (IntPtr)data, (BufferUsageHint)usage); #if DEBUG } #endif @@ -28462,10 +27997,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -28475,7 +28009,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -28510,10 +28044,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -28523,7 +28056,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -28558,49 +28091,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -28610,7 +28103,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -28645,10 +28138,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -28658,7 +28150,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -28670,6 +28162,44 @@ namespace OpenTK.Graphics } + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Execute a display list /// @@ -28678,7 +28208,6 @@ namespace OpenTK.Graphics /// Specifies the integer name of the display list to be executed. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] public static void CallList(Int32 list) @@ -28702,7 +28231,6 @@ namespace OpenTK.Graphics /// Specifies the integer name of the display list to be executed. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] public static @@ -28737,10 +28265,9 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[] lists) + void CallLists(Int32 n, ListNameType type, [In, Out] ref T2 lists) where T2 : struct { #if DEBUG @@ -28750,7 +28277,7 @@ namespace OpenTK.Graphics GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); try { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); } finally { @@ -28780,10 +28307,9 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,] lists) + void CallLists(Int32 n, ListNameType type, [In, Out] T2[,,] lists) where T2 : struct { #if DEBUG @@ -28793,7 +28319,7 @@ namespace OpenTK.Graphics GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); try { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); } finally { @@ -28823,10 +28349,9 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,,] lists) + void CallLists(Int32 n, ListNameType type, [In, Out] T2[,] lists) where T2 : struct { #if DEBUG @@ -28836,7 +28361,7 @@ namespace OpenTK.Graphics GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); try { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); } finally { @@ -28866,16 +28391,24 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists) + void CallLists(Int32 n, ListNameType type, [In, Out] T2[] lists) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists); + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } #if DEBUG } #endif @@ -28900,25 +28433,15 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] ref T2 lists) - where T2 : struct + void CallLists(Int32 n, ListNameType type, IntPtr lists) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } + Delegates.glCallLists((Int32)n, (ListNameType)type, (IntPtr)lists); #if DEBUG } #endif @@ -28926,13 +28449,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] public static - OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target) + FramebufferErrorCode CheckFramebufferStatus(FramebufferTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.FramebufferTarget)target); + return Delegates.glCheckFramebufferStatus((FramebufferTarget)target); #if DEBUG } #endif @@ -28940,13 +28463,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClampColor")] public static - void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp) + void ClampColor(ClampColorTarget target, ClampColorMode clamp) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClampColor((OpenTK.Graphics.ClampColorTarget)target, (OpenTK.Graphics.ClampColorMode)clamp); + Delegates.glClampColor((ClampColorTarget)target, (ClampColorMode)clamp); #if DEBUG } #endif @@ -28961,16 +28484,15 @@ namespace OpenTK.Graphics /// Bitwise OR of masks that indicate the buffers to be cleared. The four masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_ACCUM_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClear")] public static - void Clear(OpenTK.Graphics.ClearBufferMask mask) + void Clear(ClearBufferMask mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClear((OpenTK.Graphics.ClearBufferMask)mask); + Delegates.glClear((ClearBufferMask)mask); #if DEBUG } #endif @@ -28985,7 +28507,6 @@ namespace OpenTK.Graphics /// Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearAccum")] public static void ClearAccum(Single red, Single green, Single blue, Single alpha) @@ -29002,13 +28523,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfi")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearBufferfi((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + Delegates.glClearBufferfi((ClearBuffer)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); #if DEBUG } #endif @@ -29016,7 +28537,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Single value) + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29026,7 +28547,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = &value) { - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + Delegates.glClearBufferfv((ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); } } #if DEBUG @@ -29034,9 +28555,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single[] value) + unsafe void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferfv((ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29046,7 +28582,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + Delegates.glClearBufferfv((ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); } } #if DEBUG @@ -29055,15 +28591,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value) + unsafe void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + Delegates.glClearBufferiv((ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); #if DEBUG } #endif @@ -29071,7 +28607,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29081,7 +28617,7 @@ namespace OpenTK.Graphics { fixed (Int32* value_ptr = value) { - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + Delegates.glClearBufferiv((ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); } } #if DEBUG @@ -29091,7 +28627,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29101,7 +28637,7 @@ namespace OpenTK.Graphics { fixed (Int32* value_ptr = &value) { - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + Delegates.glClearBufferiv((ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); } } #if DEBUG @@ -29109,40 +28645,10 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29152,7 +28658,7 @@ namespace OpenTK.Graphics { fixed (UInt32* value_ptr = &value) { - Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + Delegates.glClearBufferuiv((ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); } } #if DEBUG @@ -29163,7 +28669,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) + unsafe void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferuiv((ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29173,7 +28694,7 @@ namespace OpenTK.Graphics { fixed (UInt32* value_ptr = value) { - Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + Delegates.glClearBufferuiv((ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); } } #if DEBUG @@ -29190,7 +28711,6 @@ namespace OpenTK.Graphics /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearColor")] public static void ClearColor(Single red, Single green, Single blue, Single alpha) @@ -29214,7 +28734,6 @@ namespace OpenTK.Graphics /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearDepth")] public static void ClearDepth(Double depth) @@ -29238,7 +28757,6 @@ namespace OpenTK.Graphics /// Specifies the index used when the color index buffers are cleared. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearIndex")] public static void ClearIndex(Single c) @@ -29262,7 +28780,6 @@ namespace OpenTK.Graphics /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearStencil")] public static void ClearStencil(Int32 s) @@ -29286,16 +28803,15 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glClientActiveTexture")] public static - void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) + void ClientActiveTexture(TextureUnit texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClientActiveTexture((OpenTK.Graphics.TextureUnit)texture); + Delegates.glClientActiveTexture((TextureUnit)texture); #if DEBUG } #endif @@ -29303,7 +28819,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glClientWaitSync")] public static - OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) + ArbSync ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29318,7 +28834,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glClientWaitSync")] public static - OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29344,17 +28860,16 @@ namespace OpenTK.Graphics /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] public static - unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation) + unsafe void ClipPlane(ClipPlaneName plane, Double* equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); + Delegates.glClipPlane((ClipPlaneName)plane, (Double*)equation); #if DEBUG } #endif @@ -29374,10 +28889,9 @@ namespace OpenTK.Graphics /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] public static - void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, ref Double equation) + void ClipPlane(ClipPlaneName plane, Double[] equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29385,9 +28899,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* equation_ptr = &equation) + fixed (Double* equation_ptr = equation) { - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + Delegates.glClipPlane((ClipPlaneName)plane, (Double*)equation_ptr); } } #if DEBUG @@ -29409,10 +28923,9 @@ namespace OpenTK.Graphics /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] public static - void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double[] equation) + void ClipPlane(ClipPlaneName plane, ref Double equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29420,9 +28933,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* equation_ptr = equation) + fixed (Double* equation_ptr = &equation) { - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + Delegates.glClipPlane((ClipPlaneName)plane, (Double*)equation_ptr); } } #if DEBUG @@ -29444,7 +28957,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3b")] public static @@ -29474,73 +28986,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - void Color3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - unsafe void Color3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] public static @@ -29576,7 +29021,70 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + unsafe void Color3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + void Color3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3d")] public static void Color3(Double red, Double green, Double blue) @@ -29605,7 +29113,35 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] + public static + unsafe void Color3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] public static void Color3(Double[] v) @@ -29640,37 +29176,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] - public static - unsafe void Color3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] public static void Color3(ref Double v) @@ -29705,7 +29210,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3f")] public static void Color3(Single red, Single green, Single blue) @@ -29734,7 +29238,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] public static void Color3(ref Single v) @@ -29769,7 +29272,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] public static @@ -29799,7 +29301,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] public static void Color3(Single[] v) @@ -29834,7 +29335,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3i")] public static void Color3(Int32 red, Int32 green, Int32 blue) @@ -29863,7 +29363,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] public static @@ -29893,42 +29392,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] - public static - void Color3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] public static void Color3(Int32[] v) @@ -29963,7 +29426,40 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] + public static + void Color3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3s")] public static void Color3(Int16 red, Int16 green, Int16 blue) @@ -29992,7 +29488,35 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] + public static + unsafe void Color3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] public static void Color3(Int16[] v) @@ -30027,37 +29551,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] - public static - unsafe void Color3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] public static void Color3(ref Int16 v) @@ -30092,7 +29585,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ub")] public static void Color3(Byte red, Byte green, Byte blue) @@ -30121,7 +29613,35 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + unsafe void Color3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ubv((Byte*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] public static void Color3(Byte[] v) @@ -30156,37 +29676,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - unsafe void Color3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ubv((Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] public static void Color3(ref Byte v) @@ -30221,7 +29710,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ui")] public static @@ -30251,7 +29739,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -30287,7 +29774,35 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + unsafe void Color3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -30323,37 +29838,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - unsafe void Color3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3us")] public static @@ -30383,37 +29867,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] - public static - unsafe void Color3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3usv((UInt16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -30449,7 +29902,35 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] + public static + unsafe void Color3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3usv((UInt16*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -30485,7 +29966,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4b")] public static @@ -30515,43 +29995,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] - public static - void Color4(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -30587,7 +30030,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -30617,7 +30059,41 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] + public static + void Color4(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glColor4bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4d")] public static void Color4(Double red, Double green, Double blue, Double alpha) @@ -30646,22 +30122,16 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] public static - void Color4(ref Double v) + unsafe void Color4(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glColor4dv((Double*)v_ptr); - } - } + Delegates.glColor4dv((Double*)v); #if DEBUG } #endif @@ -30681,7 +30151,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] public static void Color4(Double[] v) @@ -30716,17 +30185,21 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] public static - unsafe void Color4(Double* v) + void Color4(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glColor4dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -30746,7 +30219,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4f")] public static void Color4(Single red, Single green, Single blue, Single alpha) @@ -30775,42 +30247,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] - public static - void Color4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glColor4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] public static void Color4(ref Single v) @@ -30845,7 +30281,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] public static @@ -30875,7 +30310,40 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] + public static + void Color4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glColor4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4i")] public static void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) @@ -30904,22 +30372,16 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] public static - void Color4(ref Int32 v) + unsafe void Color4(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glColor4iv((Int32*)v_ptr); - } - } + Delegates.glColor4iv((Int32*)v); #if DEBUG } #endif @@ -30939,7 +30401,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] public static void Color4(Int32[] v) @@ -30974,17 +30435,21 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] public static - unsafe void Color4(Int32* v) + void Color4(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor4iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -31004,7 +30469,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4s")] public static void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) @@ -31033,7 +30497,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] public static @@ -31063,42 +30526,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] - public static - void Color4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] public static void Color4(Int16[] v) @@ -31133,7 +30560,40 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] + public static + void Color4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ub")] public static void Color4(Byte red, Byte green, Byte blue, Byte alpha) @@ -31162,7 +30622,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] public static @@ -31192,42 +30651,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - void Color4(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor4ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] public static void Color4(Byte[] v) @@ -31262,7 +30685,40 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + void Color4(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glColor4ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ui")] public static @@ -31292,37 +30748,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - unsafe void Color4(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -31358,7 +30783,35 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + unsafe void Color4(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -31394,7 +30847,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4us")] public static @@ -31424,11 +30876,10 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] public static - void Color4(UInt16[] v) + void Color4(ref UInt16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31436,7 +30887,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* v_ptr = v) + fixed (UInt16* v_ptr = &v) { Delegates.glColor4usv((UInt16*)v_ptr); } @@ -31460,7 +30911,6 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] public static @@ -31490,11 +30940,10 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] public static - void Color4(ref UInt16 v) + void Color4(UInt16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31502,7 +30951,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* v_ptr = &v) + fixed (UInt16* v_ptr = v) { Delegates.glColor4usv((UInt16*)v_ptr); } @@ -31521,7 +30970,6 @@ namespace OpenTK.Graphics /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glColorMask")] public static void ColorMask(bool red, bool green, bool blue, bool alpha) @@ -31545,11 +30993,9 @@ namespace OpenTK.Graphics /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] public static - void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) + void ColorMask(Int32 index, bool r, bool g, bool b, bool a) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31570,10 +31016,10 @@ namespace OpenTK.Graphics /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] public static - void ColorMask(Int32 index, bool r, bool g, bool b, bool a) + void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31599,16 +31045,15 @@ namespace OpenTK.Graphics /// Specifies which of several material parameters track the current color. Accepted values are GL_EMISSION, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE. The initial value is GL_AMBIENT_AND_DIFFUSE. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColorMaterial")] public static - void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode) + void ColorMaterial(MaterialFace face, ColorMaterialParameter mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorMaterial((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ColorMaterialParameter)mode); + Delegates.glColorMaterial((MaterialFace)face, (ColorMaterialParameter)mode); #if DEBUG } #endif @@ -31638,49 +31083,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -31690,7 +31095,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -31725,10 +31130,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -31738,7 +31142,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -31773,10 +31177,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -31786,7 +31189,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -31821,10 +31224,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -31834,7 +31236,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -31846,6 +31248,44 @@ namespace OpenTK.Graphics } + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Respecify a portion of a color table /// @@ -31879,59 +31319,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] ref T5 data) where T5 : struct { #if DEBUG @@ -31941,7 +31331,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -31986,10 +31376,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[,,] data) where T5 : struct { #if DEBUG @@ -31999,7 +31388,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32044,10 +31433,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[,] data) where T5 : struct { #if DEBUG @@ -32057,7 +31445,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32102,10 +31490,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[] data) where T5 : struct { #if DEBUG @@ -32115,7 +31502,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32127,6 +31514,54 @@ namespace OpenTK.Graphics } + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Define a color lookup table /// @@ -32160,10 +31595,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 table) where T5 : struct { #if DEBUG @@ -32173,7 +31607,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -32218,10 +31652,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] table) where T5 : struct { #if DEBUG @@ -32231,7 +31664,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -32276,10 +31709,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] table) where T5 : struct { #if DEBUG @@ -32289,7 +31721,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -32334,16 +31766,24 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] table) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } #if DEBUG } #endif @@ -32383,25 +31823,15 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) - where T5 : struct + void ColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, IntPtr table) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } + Delegates.glColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table); #if DEBUG } #endif @@ -32426,45 +31856,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Single @params) + void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -32474,7 +31868,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -32501,10 +31895,43 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single[] @params) + unsafe void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -32514,7 +31941,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -32541,57 +31968,16 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params) + unsafe void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params); + Delegates.glColorTableParameteriv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Int32*)@params); #if DEBUG } #endif @@ -32616,10 +32002,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32[] @params) + void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -32629,7 +32014,46 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameteriv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + void ColorTableParameter(ColorTableTarget target, ColorTableParameterPName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glColorTableParameteriv((ColorTableTarget)target, (ColorTableParameterPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -32646,7 +32070,6 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] public static void CompileShader(Int32 shader) @@ -32670,7 +32093,6 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] public static @@ -32725,64 +32147,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) where T6 : struct { #if DEBUG @@ -32792,7 +32159,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32842,10 +32209,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) where T6 : struct { #if DEBUG @@ -32855,7 +32221,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32905,10 +32271,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) where T6 : struct { #if DEBUG @@ -32918,7 +32283,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32968,10 +32333,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) where T6 : struct { #if DEBUG @@ -32981,7 +32345,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -32994,11 +32358,11 @@ namespace OpenTK.Graphics /// - /// Specify a two-dimensional texture image in a compressed format + /// Specify a one-dimensional texture image in a compressed format /// /// /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// /// @@ -33013,12 +32377,7 @@ namespace OpenTK.Graphics /// /// /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. /// /// /// @@ -33036,16 +32395,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + void CompressedTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + Delegates.glCompressedTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -33095,10 +32453,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) where T7 : struct { #if DEBUG @@ -33108,7 +32465,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33163,10 +32520,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) where T7 : struct { #if DEBUG @@ -33176,7 +32532,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33231,10 +32587,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) where T7 : struct { #if DEBUG @@ -33244,7 +32599,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33299,10 +32654,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) where T7 : struct { #if DEBUG @@ -33312,7 +32666,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33325,11 +32679,11 @@ namespace OpenTK.Graphics /// - /// Specify a three-dimensional texture image in a compressed format + /// Specify a two-dimensional texture image in a compressed format /// /// /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. /// /// /// @@ -33344,17 +32698,12 @@ namespace OpenTK.Graphics /// /// /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. /// /// /// /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. /// /// /// @@ -33372,16 +32721,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + void CompressedTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + Delegates.glCompressedTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -33436,10 +32784,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) where T8 : struct { #if DEBUG @@ -33449,7 +32796,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33509,10 +32856,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) where T8 : struct { #if DEBUG @@ -33522,7 +32868,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33582,10 +32928,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) where T8 : struct { #if DEBUG @@ -33595,7 +32940,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33655,10 +33000,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) where T8 : struct { #if DEBUG @@ -33668,7 +33012,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33680,6 +33024,69 @@ namespace OpenTK.Graphics } + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Specify a one-dimensional texture subimage in a compressed format /// @@ -33718,64 +33125,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) where T6 : struct { #if DEBUG @@ -33785,7 +33137,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33835,10 +33187,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) where T6 : struct { #if DEBUG @@ -33848,7 +33199,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33898,10 +33249,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) where T6 : struct { #if DEBUG @@ -33911,7 +33261,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33961,10 +33311,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T6[] data) where T6 : struct { #if DEBUG @@ -33974,7 +33323,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -33986,6 +33335,59 @@ namespace OpenTK.Graphics } + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Specify a two-dimensional texture subimage in a compressed format /// @@ -34034,10 +33436,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) where T8 : struct { #if DEBUG @@ -34047,7 +33448,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34107,74 +33508,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) where T8 : struct { #if DEBUG @@ -34184,7 +33520,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34244,10 +33580,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) where T8 : struct { #if DEBUG @@ -34257,7 +33592,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34317,10 +33652,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T8[] data) where T8 : struct { #if DEBUG @@ -34330,7 +33664,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34342,6 +33676,69 @@ namespace OpenTK.Graphics } + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture subimage in a compressed format /// @@ -34395,10 +33792,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) where T10 : struct { #if DEBUG @@ -34408,7 +33804,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34473,10 +33869,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) where T10 : struct { #if DEBUG @@ -34486,7 +33881,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34551,10 +33946,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) where T10 : struct { #if DEBUG @@ -34564,7 +33958,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34629,79 +34023,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T10[] data) where T10 : struct { #if DEBUG @@ -34711,7 +34035,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -34723,6 +34047,74 @@ namespace OpenTK.Graphics } + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Define a one-dimensional convolution filter /// @@ -34756,10 +34148,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 image) where T5 : struct { #if DEBUG @@ -34769,7 +34160,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -34814,10 +34205,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] image) where T5 : struct { #if DEBUG @@ -34827,7 +34217,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -34872,59 +34262,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] image) where T5 : struct { #if DEBUG @@ -34934,7 +34274,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -34979,10 +34319,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] image) where T5 : struct { #if DEBUG @@ -34992,7 +34331,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -35005,11 +34344,11 @@ namespace OpenTK.Graphics /// - /// Define a two-dimensional convolution filter + /// Define a one-dimensional convolution filter /// /// /// - /// Must be GL_CONVOLUTION_2D. + /// Must be GL_CONVOLUTION_1D. /// /// /// @@ -35022,14 +34361,9 @@ namespace OpenTK.Graphics /// The width of the pixel array referenced by data. /// /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// /// /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. /// /// /// @@ -35039,19 +34373,18 @@ namespace OpenTK.Graphics /// /// /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + void ConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, IntPtr image) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + Delegates.glConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -35096,10 +34429,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T6 image) where T6 : struct { #if DEBUG @@ -35109,7 +34441,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -35159,10 +34491,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,,] image) where T6 : struct { #if DEBUG @@ -35172,7 +34503,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -35222,10 +34553,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,] image) where T6 : struct { #if DEBUG @@ -35235,7 +34565,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -35285,10 +34615,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[] image) where T6 : struct { #if DEBUG @@ -35298,7 +34627,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -35310,6 +34639,59 @@ namespace OpenTK.Graphics } + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// /// Set convolution parameters /// @@ -35331,16 +34713,15 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterf")] public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params) + void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterf((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single)@params); + Delegates.glConvolutionParameterf((ConvolutionTarget)target, (ConvolutionParameter)pname, (Single)@params); #if DEBUG } #endif @@ -35368,17 +34749,16 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params) + unsafe void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params); + Delegates.glConvolutionParameterfv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -35406,10 +34786,9 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single[] @params) + void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -35419,7 +34798,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params_ptr); + Delegates.glConvolutionParameterfv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -35449,16 +34828,15 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteri")] public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params) + void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameteri((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32)@params); + Delegates.glConvolutionParameteri((ConvolutionTarget)target, (ConvolutionParameter)pname, (Int32)@params); #if DEBUG } #endif @@ -35486,17 +34864,16 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params) + unsafe void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params); + Delegates.glConvolutionParameteriv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -35524,10 +34901,9 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32[] @params) + void ConvolutionParameter(ConvolutionTarget target, ConvolutionParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -35537,7 +34913,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); + Delegates.glConvolutionParameteriv((ConvolutionTarget)target, (ConvolutionParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -35547,13 +34923,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbCopyBuffer", Version = "3.0", EntryPoint = "glCopyBufferSubData")] public static - void CopyBufferSubData(OpenTK.Graphics.BufferTarget readTarget, OpenTK.Graphics.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + void CopyBufferSubData(BufferTarget readTarget, BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyBufferSubData((OpenTK.Graphics.BufferTarget)readTarget, (OpenTK.Graphics.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + Delegates.glCopyBufferSubData((BufferTarget)readTarget, (BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); #if DEBUG } #endif @@ -35583,16 +34959,15 @@ namespace OpenTK.Graphics /// The number of table entries to replace. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorSubTable")] public static - void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + void CopyColorSubTable(ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorSubTable((ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -35627,16 +35002,15 @@ namespace OpenTK.Graphics /// The width of the pixel rectangle. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorTable")] public static - void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + void CopyColorTable(ColorTableTarget target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorTable((ColorTableTarget)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -35666,16 +35040,15 @@ namespace OpenTK.Graphics /// The width of the pixel array to copy. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")] public static - void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + void CopyConvolutionFilter1D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyConvolutionFilter1D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -35710,16 +35083,15 @@ namespace OpenTK.Graphics /// The height of the pixel array to copy. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")] public static - void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyConvolutionFilter2D(ConvolutionTarget target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyConvolutionFilter2D((ConvolutionTarget)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -35744,16 +35116,15 @@ namespace OpenTK.Graphics /// Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants GL_COLOR, GL_DEPTH, and GL_STENCIL are accepted. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCopyPixels")] public static - void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type) + void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelCopyType type) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelCopyType)type); + Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelCopyType)type); #if DEBUG } #endif @@ -35793,16 +35164,15 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage1D")] public static - void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + void CopyTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + Delegates.glCopyTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); #if DEBUG } #endif @@ -35847,16 +35217,15 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage2D")] public static - void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + void CopyTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + Delegates.glCopyTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif @@ -35891,16 +35260,15 @@ namespace OpenTK.Graphics /// Specifies the width of the texture subimage. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] public static - void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + void CopyTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -35945,16 +35313,15 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] public static - void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -36004,16 +35371,15 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] public static - void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -36023,7 +35389,6 @@ namespace OpenTK.Graphics /// /// Creates a program object /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateProgram")] public static Int32 CreateProgram() @@ -36047,16 +35412,15 @@ namespace OpenTK.Graphics /// Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateShader")] public static - Int32 CreateShader(OpenTK.Graphics.ShaderType type) + Int32 CreateShader(ShaderType type) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glCreateShader((OpenTK.Graphics.ShaderType)type); + return Delegates.glCreateShader((ShaderType)type); #if DEBUG } #endif @@ -36071,16 +35435,15 @@ namespace OpenTK.Graphics /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glCullFace")] public static - void CullFace(OpenTK.Graphics.CullFaceMode mode) + void CullFace(CullFaceMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCullFace((OpenTK.Graphics.CullFaceMode)mode); + Delegates.glCullFace((CullFaceMode)mode); #if DEBUG } #endif @@ -36100,37 +35463,6 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static @@ -36160,78 +35492,6 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static void DeleteBuffers(Int32 n, Int32[] buffers) @@ -36266,7 +35526,40 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static @@ -36288,6 +35581,125 @@ namespace OpenTK.Graphics #endif } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] public static @@ -36309,21 +35721,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); #if DEBUG } #endif @@ -36350,56 +35757,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Delete a contiguous group of display lists @@ -36414,7 +35771,6 @@ namespace OpenTK.Graphics /// Specifies the number of display lists to delete. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] public static void DeleteLists(Int32 list, Int32 range) @@ -36443,7 +35799,6 @@ namespace OpenTK.Graphics /// Specifies the number of display lists to delete. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] public static @@ -36468,7 +35823,6 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] public static void DeleteProgram(Int32 program) @@ -36492,7 +35846,6 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] public static @@ -36522,7 +35875,69 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static void DeleteQueries(Int32 n, ref Int32 ids) @@ -36557,7 +35972,6 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static @@ -36593,11 +36007,10 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static - unsafe void DeleteQueries(Int32 n, Int32* ids) + unsafe void DeleteQueries(Int32 n, UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36623,7 +36036,6 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static @@ -36645,66 +36057,16 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif @@ -36730,27 +36092,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) @@ -36774,7 +36115,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36782,7 +36123,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* renderbuffers_ptr = renderbuffers) + fixed (UInt32* renderbuffers_ptr = &renderbuffers) { Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); } @@ -36810,13 +36151,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } #if DEBUG } #endif @@ -36831,11 +36178,9 @@ namespace OpenTK.Graphics /// Specifies the shader object to be deleted. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] public static - void DeleteShader(UInt32 shader) + void DeleteShader(Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36856,10 +36201,10 @@ namespace OpenTK.Graphics /// Specifies the shader object to be deleted. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] public static - void DeleteShader(Int32 shader) + void DeleteShader(UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36899,72 +36244,6 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static @@ -36994,43 +36273,6 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static void DeleteTextures(Int32 n, Int32[] textures) @@ -37065,7 +36307,40 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static @@ -37087,6 +36362,125 @@ namespace OpenTK.Graphics #endif } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] public static @@ -37108,21 +36502,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); #if DEBUG } #endif @@ -37149,56 +36538,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Specify the value used for depth buffer comparisons @@ -37208,16 +36547,15 @@ namespace OpenTK.Graphics /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthFunc")] public static - void DepthFunc(OpenTK.Graphics.DepthFunction func) + void DepthFunc(DepthFunction func) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthFunc((OpenTK.Graphics.DepthFunction)func); + Delegates.glDepthFunc((DepthFunction)func); #if DEBUG } #endif @@ -37232,7 +36570,6 @@ namespace OpenTK.Graphics /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthMask")] public static void DepthMask(bool flag) @@ -37261,7 +36598,6 @@ namespace OpenTK.Graphics /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthRange")] public static void DepthRange(Double near, Double far) @@ -37290,11 +36626,9 @@ namespace OpenTK.Graphics /// Specifies the shader object to be detached. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] public static - void DetachShader(UInt32 program, UInt32 shader) + void DetachShader(Int32 program, Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -37320,10 +36654,10 @@ namespace OpenTK.Graphics /// Specifies the shader object to be detached. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] public static - void DetachShader(Int32 program, Int32 shader) + void DetachShader(UInt32 program, UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -37337,13 +36671,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDisable")] public static - void Disable(OpenTK.Graphics.EnableCap cap) + void Disable(EnableCap cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisable((OpenTK.Graphics.EnableCap)cap); + Delegates.glDisable((EnableCap)cap); #if DEBUG } #endif @@ -37351,13 +36685,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")] public static - void DisableClientState(OpenTK.Graphics.EnableCap array) + void DisableClientState(EnableCap array) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableClientState((OpenTK.Graphics.EnableCap)array); + Delegates.glDisableClientState((EnableCap)array); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] + public static + void Disable(IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisablei((IndexedEnableCap)target, (UInt32)index); #if DEBUG } #endif @@ -37366,27 +36714,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] public static - void Disable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + void Disable(IndexedEnableCap target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + Delegates.glDisablei((IndexedEnableCap)target, (UInt32)index); #if DEBUG } #endif @@ -37440,16 +36774,15 @@ namespace OpenTK.Graphics /// Specifies the number of indices to be rendered. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawArrays")] public static - void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) + void DrawArrays(BeginMode mode, Int32 first, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); + Delegates.glDrawArrays((BeginMode)mode, (Int32)first, (Int32)count); #if DEBUG } #endif @@ -37457,13 +36790,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] public static - void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount) + void DrawArraysInstanced(BeginMode mode, Int32 first, Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); + Delegates.glDrawArraysInstanced((BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); #if DEBUG } #endif @@ -37478,16 +36811,15 @@ namespace OpenTK.Graphics /// Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1, are accepted. (GL_AUX_BUFFERS is not the upper limit; use glGet to query the number of available aux buffers.) The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDrawBuffer")] public static - void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode) + void DrawBuffer(DrawBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawBuffer((OpenTK.Graphics.DrawBufferMode)mode); + Delegates.glDrawBuffer((DrawBufferMode)mode); #if DEBUG } #endif @@ -37507,17 +36839,16 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs) + unsafe void DrawBuffers(Int32 n, DrawBuffersEnum* bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs); + Delegates.glDrawBuffers((Int32)n, (DrawBuffersEnum*)bufs); #if DEBUG } #endif @@ -37537,10 +36868,9 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.DrawBuffersEnum bufs) + void DrawBuffers(Int32 n, DrawBuffersEnum[] bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -37548,9 +36878,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = &bufs) + fixed (DrawBuffersEnum* bufs_ptr = bufs) { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr); + Delegates.glDrawBuffers((Int32)n, (DrawBuffersEnum*)bufs_ptr); } } #if DEBUG @@ -37572,10 +36902,9 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] public static - void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum[] bufs) + void DrawBuffers(Int32 n, ref DrawBuffersEnum bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -37583,9 +36912,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = bufs) + fixed (DrawBuffersEnum* bufs_ptr = &bufs) { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr); + Delegates.glDrawBuffers((Int32)n, (DrawBuffersEnum*)bufs_ptr); } } #if DEBUG @@ -37617,10 +36946,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices) + void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices) where T3 : struct { #if DEBUG @@ -37630,7 +36958,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -37665,10 +36993,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices) + void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices) where T3 : struct { #if DEBUG @@ -37678,7 +37005,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -37713,10 +37040,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices) + void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices) where T3 : struct { #if DEBUG @@ -37726,7 +37052,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -37761,10 +37087,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices) + void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices) where T3 : struct { #if DEBUG @@ -37774,7 +37099,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -37809,16 +37134,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + void DrawElements(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + Delegates.glDrawElements((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices); #if DEBUG } #endif @@ -37826,7 +37150,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 basevertex) + void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -37836,7 +37160,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -37849,21 +37173,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] - public static - void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 basevertex) + void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -37873,7 +37183,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -37886,7 +37196,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 basevertex) + void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -37896,7 +37206,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -37909,7 +37219,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 basevertex) + void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -37919,7 +37229,44 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -37932,7 +37279,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -37942,7 +37289,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -37955,7 +37302,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -37965,7 +37312,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -37978,21 +37325,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -38002,7 +37335,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -38015,7 +37348,21 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstanced((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -38025,7 +37372,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); } finally { @@ -38038,21 +37385,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)basevertex); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] - public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -38062,7 +37395,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); } finally { @@ -38075,7 +37408,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -38085,7 +37418,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); } finally { @@ -38098,7 +37431,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -38108,7 +37441,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); } finally { @@ -38121,22 +37454,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 basevertex) - where T3 : struct + void DrawElementsInstancedBaseVertex(ArbDrawElementsBaseVertex mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } + Delegates.glDrawElementsInstancedBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)basevertex); #if DEBUG } #endif @@ -38166,10 +37490,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) + void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T4 pixels) where T4 : struct { #if DEBUG @@ -38179,7 +37502,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -38214,49 +37537,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T4[,,] pixels) where T4 : struct { #if DEBUG @@ -38266,7 +37549,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -38301,10 +37584,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T4[,] pixels) where T4 : struct { #if DEBUG @@ -38314,7 +37596,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -38349,10 +37631,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T4[] pixels) where T4 : struct { #if DEBUG @@ -38362,7 +37643,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -38374,6 +37655,44 @@ namespace OpenTK.Graphics } + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawPixels((Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// /// Render primitives from array data /// @@ -38407,10 +37726,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices) where T5 : struct { #if DEBUG @@ -38420,7 +37738,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38465,11 +37783,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices) where T5 : struct { #if DEBUG @@ -38479,7 +37795,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38524,11 +37840,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices) where T5 : struct { #if DEBUG @@ -38538,7 +37852,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38583,10 +37897,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices) where T5 : struct { #if DEBUG @@ -38596,7 +37909,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38641,10 +37954,58 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices) where T5 : struct { #if DEBUG @@ -38654,7 +38015,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38699,11 +38060,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices) where T5 : struct { #if DEBUG @@ -38713,7 +38073,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38758,10 +38118,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices) where T5 : struct { #if DEBUG @@ -38771,7 +38131,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38816,11 +38176,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices) where T5 : struct { #if DEBUG @@ -38830,7 +38189,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -38875,66 +38234,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, IntPtr indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + Delegates.glDrawRangeElements((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices); #if DEBUG } #endif @@ -38942,22 +38251,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -38967,7 +38261,114 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -38981,21 +38382,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -39005,7 +38392,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -39019,7 +38406,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -39029,30 +38416,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -39066,7 +38430,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -39076,30 +38440,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -39113,45 +38454,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex) - where T5 : struct + void DrawRangeElementsBaseVertex(ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, IntPtr indices, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] - public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); - } - finally - { - indices_ptr.Free(); - } + Delegates.glDrawRangeElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); #if DEBUG } #endif @@ -39166,7 +38475,6 @@ namespace OpenTK.Graphics /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlag")] public static void EdgeFlag(bool flag) @@ -39195,36 +38503,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] ref T1 pointer) @@ -39262,7 +38540,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer) @@ -39300,7 +38577,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] T1[,] pointer) @@ -39338,7 +38614,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] T1[] pointer) @@ -39363,6 +38638,34 @@ namespace OpenTK.Graphics } + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Flag edges as either boundary or nonboundary /// @@ -39371,7 +38674,6 @@ namespace OpenTK.Graphics /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")] public static @@ -39396,16 +38698,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glEnable")] public static - void Enable(OpenTK.Graphics.EnableCap cap) + void Enable(EnableCap cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnable((OpenTK.Graphics.EnableCap)cap); + Delegates.glEnable((EnableCap)cap); #if DEBUG } #endif @@ -39420,16 +38721,15 @@ namespace OpenTK.Graphics /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")] public static - void EnableClientState(OpenTK.Graphics.EnableCap array) + void EnableClientState(EnableCap array) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableClientState((OpenTK.Graphics.EnableCap)array); + Delegates.glEnableClientState((EnableCap)array); #if DEBUG } #endif @@ -39444,16 +38744,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] public static - void Enable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) + void Enable(IndexedEnableCap target, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + Delegates.glEnablei((IndexedEnableCap)target, (UInt32)index); #if DEBUG } #endif @@ -39468,17 +38767,16 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] public static - void Enable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + void Enable(IndexedEnableCap target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + Delegates.glEnablei((IndexedEnableCap)target, (UInt32)index); #if DEBUG } #endif @@ -39493,7 +38791,6 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] public static void EnableVertexAttribArray(Int32 index) @@ -39517,7 +38814,6 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] public static @@ -39578,13 +38874,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glEndQuery")] public static - void EndQuery(OpenTK.Graphics.QueryTarget target) + void EndQuery(QueryTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEndQuery((OpenTK.Graphics.QueryTarget)target); + Delegates.glEndQuery((QueryTarget)target); #if DEBUG } #endif @@ -39618,7 +38914,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1d")] public static void EvalCoord1(Double u) @@ -39647,7 +38942,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1dv")] public static @@ -39677,7 +38971,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1f")] public static void EvalCoord1(Single u) @@ -39706,7 +38999,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1fv")] public static @@ -39736,7 +39028,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2d")] public static void EvalCoord2(Double u, Double v) @@ -39765,7 +39056,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static @@ -39795,7 +39085,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static void EvalCoord2(Double[] u) @@ -39830,7 +39119,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static void EvalCoord2(ref Double u) @@ -39865,7 +39153,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2f")] public static void EvalCoord2(Single u, Single v) @@ -39894,7 +39181,40 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + void EvalCoord2(ref Single u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* u_ptr = &u) + { + Delegates.glEvalCoord2fv((Single*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static @@ -39924,7 +39244,6 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static void EvalCoord2(Single[] u) @@ -39946,41 +39265,6 @@ namespace OpenTK.Graphics } - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - void EvalCoord2(ref Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = &u) - { - Delegates.glEvalCoord2fv((Single*)u_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Compute a one- or two-dimensional grid of points or lines /// @@ -39994,16 +39278,15 @@ namespace OpenTK.Graphics /// Specify the first and last integer values for grid domain variable . /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh1")] public static - void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2) + void EvalMesh1(MeshMode1 mode, Int32 i1, Int32 i2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEvalMesh1((OpenTK.Graphics.MeshMode1)mode, (Int32)i1, (Int32)i2); + Delegates.glEvalMesh1((MeshMode1)mode, (Int32)i1, (Int32)i2); #if DEBUG } #endif @@ -40023,16 +39306,15 @@ namespace OpenTK.Graphics /// Specify the first and last integer values for grid domain variable . /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh2")] public static - void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) + void EvalMesh2(MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEvalMesh2((OpenTK.Graphics.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); + Delegates.glEvalMesh2((MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); #if DEBUG } #endif @@ -40052,7 +39334,6 @@ namespace OpenTK.Graphics /// Specifies the integer value for grid domain variable (glEvalPoint2 only). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint1")] public static void EvalPoint1(Int32 i) @@ -40081,7 +39362,6 @@ namespace OpenTK.Graphics /// Specifies the integer value for grid domain variable (glEvalPoint2 only). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint2")] public static void EvalPoint2(Int32 i, Int32 j) @@ -40115,45 +39395,9 @@ namespace OpenTK.Graphics /// Returns the feedback data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] public static - unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Controls feedback mode - /// - /// - /// - /// Specifies the maximum number of values that can be written into buffer. - /// - /// - /// - /// - /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. - /// - /// - /// - /// - /// Returns the feedback data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] out Single buffer) + void FeedbackBuffer(Int32 size, FeedbackType type, [Out] out Single buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -40163,7 +39407,7 @@ namespace OpenTK.Graphics { fixed (Single* buffer_ptr = &buffer) { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); + Delegates.glFeedbackBuffer((Int32)size, (FeedbackType)type, (Single*)buffer_ptr); buffer = *buffer_ptr; } } @@ -40191,10 +39435,43 @@ namespace OpenTK.Graphics /// Returns the feedback data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single[] buffer) + unsafe void FeedbackBuffer(Int32 size, FeedbackType type, [Out] Single* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFeedbackBuffer((Int32)size, (FeedbackType)type, (Single*)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + void FeedbackBuffer(Int32 size, FeedbackType type, [Out] Single[] buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -40204,7 +39481,7 @@ namespace OpenTK.Graphics { fixed (Single* buffer_ptr = buffer) { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); + Delegates.glFeedbackBuffer((Int32)size, (FeedbackType)type, (Single*)buffer_ptr); } } #if DEBUG @@ -40212,30 +39489,30 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")] + public static + IntPtr FenceSync(ArbSync condition, Int32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFenceSync((ArbSync)condition, (UInt32)flags); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")] public static - IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags) + IntPtr FenceSync(ArbSync condition, UInt32 flags) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glFenceSync((OpenTK.Graphics.ArbSync)condition, (UInt32)flags); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")] - public static - IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, Int32 flags) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFenceSync((OpenTK.Graphics.ArbSync)condition, (UInt32)flags); + return Delegates.glFenceSync((ArbSync)condition, (UInt32)flags); #if DEBUG } #endif @@ -40245,7 +39522,6 @@ namespace OpenTK.Graphics /// /// Block until all GL execution is complete /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFinish")] public static void Finish() @@ -40264,7 +39540,6 @@ namespace OpenTK.Graphics /// /// Force execution of GL commands in finite time /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFlush")] public static void Flush() @@ -40281,13 +39556,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] public static - void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length) + void FlushMappedBufferRange(BufferTarget target, IntPtr offset, IntPtr length) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + Delegates.glFlushMappedBufferRange((BufferTarget)target, (IntPtr)offset, (IntPtr)length); #if DEBUG } #endif @@ -40302,7 +39577,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordd")] public static void FogCoord(Double coord) @@ -40326,7 +39600,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoorddv")] public static @@ -40351,7 +39624,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordf")] public static void FogCoord(Single coord) @@ -40375,7 +39647,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordfv")] public static @@ -40410,44 +39681,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,] pointer) + void FogCoordPointer(FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -40457,7 +39693,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointer((FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -40487,10 +39723,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + void FogCoordPointer(FogPointerType type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -40500,7 +39735,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointer((FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -40530,10 +39765,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void FogCoordPointer(FogPointerType type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -40543,7 +39777,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointer((FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -40573,10 +39807,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[] pointer) + void FogCoordPointer(FogPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -40586,7 +39819,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointer((FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -40598,6 +39831,39 @@ namespace OpenTK.Graphics } + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(FogPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointer((FogPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Specify fog parameters /// @@ -40611,16 +39877,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogf")] public static - void Fog(OpenTK.Graphics.FogParameter pname, Single param) + void Fog(FogParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogf((OpenTK.Graphics.FogParameter)pname, (Single)param); + Delegates.glFogf((FogParameter)pname, (Single)param); #if DEBUG } #endif @@ -40640,10 +39905,38 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] public static - void Fog(OpenTK.Graphics.FogParameter pname, Single[] @params) + unsafe void Fog(FogParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogfv((FogParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] + public static + void Fog(FogParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -40653,7 +39946,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params_ptr); + Delegates.glFogfv((FogParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -40675,46 +39968,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] - public static - unsafe void Fog(OpenTK.Graphics.FogParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogi")] public static - void Fog(OpenTK.Graphics.FogParameter pname, Int32 param) + void Fog(FogParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogi((OpenTK.Graphics.FogParameter)pname, (Int32)param); + Delegates.glFogi((FogParameter)pname, (Int32)param); #if DEBUG } #endif @@ -40734,17 +39996,16 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] public static - unsafe void Fog(OpenTK.Graphics.FogParameter pname, Int32* @params) + unsafe void Fog(FogParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params); + Delegates.glFogiv((FogParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -40764,10 +40025,9 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] public static - void Fog(OpenTK.Graphics.FogParameter pname, Int32[] @params) + void Fog(FogParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -40777,7 +40037,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params_ptr); + Delegates.glFogiv((FogParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -40785,30 +40045,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + Delegates.glFramebufferRenderbuffer((FramebufferTarget)target, (FramebufferAttachment)attachment, (RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + Delegates.glFramebufferRenderbuffer((FramebufferTarget)target, (FramebufferAttachment)attachment, (RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif @@ -40816,13 +40076,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTexture")] public static - void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, Int32 texture, Int32 level) + void FramebufferTexture(Version32 target, Version32 attachment, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture((Version32)target, (Version32)attachment, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -40831,13 +40091,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTexture")] public static - void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level) + void FramebufferTexture(Version32 target, Version32 attachment, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture((Version32)target, (Version32)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + public static + void FramebufferTexture1D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1D((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -40846,27 +40120,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void FramebufferTexture1D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture1D((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture2D((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -40875,27 +40149,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture2D((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void FramebufferTexture3D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture3D((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); #if DEBUG } #endif @@ -40904,27 +40178,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + void FramebufferTexture3D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glFramebufferTexture3D((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTextureFace")] public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + void FramebufferTextureFace(Version32 target, Version32 attachment, Int32 texture, Int32 level, Version32 face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glFramebufferTextureFace((Version32)target, (Version32)attachment, (UInt32)texture, (Int32)level, (Version32)face); #if DEBUG } #endif @@ -40933,27 +40207,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTextureFace")] public static - void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face) + void FramebufferTextureFace(Version32 target, Version32 attachment, UInt32 texture, Int32 level, Version32 face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFace((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.Version32)face); + Delegates.glFramebufferTextureFace((Version32)target, (Version32)attachment, (UInt32)texture, (Int32)level, (Version32)face); #if DEBUG } #endif } - [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTextureFace")] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] public static - void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, Int32 texture, Int32 level, OpenTK.Graphics.Version32 face) + void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFace((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.Version32)face); + Delegates.glFramebufferTextureLayer((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -40962,27 +40236,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + Delegates.glFramebufferTextureLayer((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -40997,16 +40257,15 @@ namespace OpenTK.Graphics /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFrontFace")] public static - void FrontFace(OpenTK.Graphics.FrontFaceDirection mode) + void FrontFace(FrontFaceDirection mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFrontFace((OpenTK.Graphics.FrontFaceDirection)mode); + Delegates.glFrontFace((FrontFaceDirection)mode); #if DEBUG } #endif @@ -41031,7 +40290,6 @@ namespace OpenTK.Graphics /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFrustum")] public static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) @@ -41060,7 +40318,104 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [Out] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [Out] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static @@ -41097,108 +40452,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [Out] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [Out] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static @@ -41228,10 +40481,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static - void GenBuffers(Int32 n, [Out] out Int32 buffers) + void GenBuffers(Int32 n, [Out] UInt32[] buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -41239,10 +40492,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* buffers_ptr = &buffers) + fixed (UInt32* buffers_ptr = buffers) { Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; } } #if DEBUG @@ -41252,13 +40504,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenerateMipmap")] public static - void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target) + void GenerateMipmap(GenerateMipmapTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.GenerateMipmapTarget)target); + Delegates.glGenerateMipmap((GenerateMipmapTarget)target); #if DEBUG } #endif @@ -41279,25 +40531,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] public static - unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -41305,10 +40541,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* framebuffers_ptr = &framebuffers) + fixed (Int32* framebuffers_ptr = framebuffers) { Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; } } #if DEBUG @@ -41337,6 +40572,43 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] public static @@ -41358,26 +40630,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Generate a contiguous set of empty display lists @@ -41387,7 +40639,6 @@ namespace OpenTK.Graphics /// Specifies the number of contiguous empty display lists to be generated. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGenLists")] public static Int32 GenLists(Int32 range) @@ -41416,7 +40667,69 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [Out] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [Out] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static void GenQueries(Int32 n, [Out] out Int32 ids) @@ -41452,78 +40765,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static @@ -41560,11 +40801,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) + unsafe void GenQueries(Int32 n, [Out] UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -41590,26 +40830,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static - unsafe void GenQueries(Int32 n, [Out] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) + void GenQueries(Int32 n, [Out] UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -41617,9 +40841,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* renderbuffers_ptr = renderbuffers) + fixed (UInt32* ids_ptr = ids) { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); } } #if DEBUG @@ -41627,21 +40851,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] public static @@ -41657,10 +40866,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] public static - void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) + void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -41668,10 +40876,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) + fixed (Int32* renderbuffers_ptr = renderbuffers) { Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; } } #if DEBUG @@ -41700,9 +40907,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] public static - void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) + void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -41710,7 +40918,44 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* renderbuffers_ptr = renderbuffers) + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) { Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); } @@ -41734,7 +40979,104 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [Out] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static @@ -41771,108 +41113,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static @@ -41902,7 +41142,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static @@ -41924,47 +41163,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] public static @@ -41980,16 +41178,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] public static - unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) + void GenVertexArrays(Int32 n, [Out] Int32[] arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } #if DEBUG } #endif @@ -42038,6 +41241,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Returns information about an active attribute variable for the specified program object @@ -42077,10 +41316,63 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ActiveAttribType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42090,9 +41382,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + fixed (ActiveAttribType* type_ptr = &type) { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -42142,28 +41434,16 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ActiveAttribType* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ActiveAttribType*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -42208,176 +41488,10 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ActiveAttribType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42387,9 +41501,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type) + fixed (ActiveAttribType* type_ptr = &type) { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -42439,17 +41553,16 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ActiveUniformType* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ActiveUniformType*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -42494,10 +41607,9 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ActiveUniformType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42507,9 +41619,128 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type) + fixed (ActiveUniformType* type_ptr = &type) { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ActiveUniformType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ActiveUniformType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ActiveUniformType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -42523,7 +41754,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, ArbUniformBufferObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42533,7 +41778,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -42543,7 +41788,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, ArbUniformBufferObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42553,7 +41798,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -42565,21 +41810,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static - unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, ArbUniformBufferObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (ArbUniformBufferObject)pname, (Int32*)@params); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, ArbUniformBufferObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42589,7 +41835,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -42600,7 +41846,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, ArbUniformBufferObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42610,7 +41856,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -42619,21 +41865,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] public static @@ -42649,28 +41880,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] public static void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) @@ -42708,9 +41917,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] public static - void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) + void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42720,7 +41929,7 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformName); + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); length = *length_ptr; } } @@ -42744,21 +41953,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformName); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] public static void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) @@ -42781,9 +41975,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42791,10 +42000,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) + fixed (Int32* length_ptr = &length) { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformName); + length = *length_ptr; } } #if DEBUG @@ -42805,28 +42014,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static - unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, ArbUniformBufferObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (ArbUniformBufferObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -42834,29 +42028,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, ArbUniformBufferObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42867,7 +42039,29 @@ namespace OpenTK.Graphics fixed (Int32* uniformIndices_ptr = uniformIndices) fixed (Int32* @params_ptr = @params) { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, ArbUniformBufferObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -42878,7 +42072,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, ArbUniformBufferObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42889,7 +42083,7 @@ namespace OpenTK.Graphics fixed (UInt32* uniformIndices_ptr = &uniformIndices) fixed (Int32* @params_ptr = &@params) { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -42898,35 +42092,25 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) + void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, ArbUniformBufferObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42934,12 +42118,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* count_ptr = &count) - fixed (UInt32* obj_ptr = &obj) + fixed (UInt32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (ArbUniformBufferObject)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -42971,7 +42153,45 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static @@ -43014,7 +42234,92 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static @@ -43057,90 +42362,10 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) + void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43149,7 +42374,7 @@ namespace OpenTK.Graphics unsafe { fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = &obj) + fixed (UInt32* obj_ptr = &obj) { Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); count = *count_ptr; @@ -43175,7 +42400,6 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] public static Int32 GetAttribLocation(Int32 program, String name) @@ -43204,7 +42428,6 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] public static @@ -43220,9 +42443,44 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out bool data) + unsafe void GetBoolean(GetIndexedPName target, Int32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleani_v((GetIndexedPName)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(GetIndexedPName target, Int32 index, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleani_v((GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(GetIndexedPName target, Int32 index, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43232,7 +42490,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + Delegates.glGetBooleani_v((GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); data = *data_ptr; } } @@ -43244,13 +42502,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static - unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data) + unsafe void GetBoolean(GetIndexedPName target, UInt32 index, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); + Delegates.glGetBooleani_v((GetIndexedPName)target, (UInt32)index, (bool*)data); #if DEBUG } #endif @@ -43259,7 +42517,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out bool data) + void GetBoolean(GetIndexedPName target, UInt32 index, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleani_v((GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(GetIndexedPName target, UInt32 index, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43269,7 +42548,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + Delegates.glGetBooleani_v((GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); data = *data_ptr; } } @@ -43279,56 +42558,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool[] data) + unsafe void GetBoolean(GetPName pname, [Out] bool* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); + Delegates.glGetBooleanv((GetPName)pname, (bool*)@params); #if DEBUG } #endif @@ -43336,7 +42574,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] public static - void GetBoolean(OpenTK.Graphics.GetPName pname, [Out] bool[] @params) + void GetBoolean(GetPName pname, [Out] bool[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43346,7 +42584,7 @@ namespace OpenTK.Graphics { fixed (bool* @params_ptr = @params) { - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); + Delegates.glGetBooleanv((GetPName)pname, (bool*)@params_ptr); } } #if DEBUG @@ -43354,24 +42592,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] public static - unsafe void GetBoolean(OpenTK.Graphics.GetPName pname, [Out] bool* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.GetPName pname, [Out] out bool @params) + void GetBoolean(GetPName pname, [Out] out bool @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43381,7 +42604,7 @@ namespace OpenTK.Graphics { fixed (bool* @params_ptr = &@params) { - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); + Delegates.glGetBooleanv((GetPName)pname, (bool*)@params_ptr); @params = *@params_ptr; } } @@ -43390,9 +42613,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] public static - void GetBufferParameteri64(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64[] @params) + unsafe void GetBufferParameteri64(Version32 target, Version32 pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteri64v((Version32)target, (Version32)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameteri64(Version32 target, Version32 pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43402,7 +42640,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = @params) { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)pname, (Int64*)@params_ptr); + Delegates.glGetBufferParameteri64v((Version32)target, (Version32)pname, (Int64*)@params_ptr); } } #if DEBUG @@ -43412,7 +42650,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] public static - void GetBufferParameteri64(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] out Int64 @params) + void GetBufferParameteri64(Version32 target, Version32 pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43422,7 +42660,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = &@params) { - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)pname, (Int64*)@params_ptr); + Delegates.glGetBufferParameteri64v((Version32)target, (Version32)pname, (Int64*)@params_ptr); @params = *@params_ptr; } } @@ -43431,16 +42669,35 @@ namespace OpenTK.Graphics #endif } + + /// + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] public static - unsafe void GetBufferParameteri64(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params) + unsafe void GetBufferParameter(BufferTarget target, BufferParameterName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)pname, (Int64*)@params); + Delegates.glGetBufferParameteriv((BufferTarget)target, (BufferParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -43465,51 +42722,9 @@ namespace OpenTK.Graphics /// Returns the requested parameter. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] public static - void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a buffer object - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. - /// - /// - /// - /// - /// Returns the requested parameter. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32[] @params) + void GetBufferParameter(BufferTarget target, BufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43519,7 +42734,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetBufferParameteriv((BufferTarget)target, (BufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -43546,17 +42761,22 @@ namespace OpenTK.Graphics /// Returns the requested parameter. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] public static - unsafe void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params) + void GetBufferParameter(BufferTarget target, BufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameteriv((BufferTarget)target, (BufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -43581,10 +42801,9 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[] @params) + void GetBufferPointer(BufferTarget target, BufferPointer pname, [In, Out] ref T2 @params) where T2 : struct { #if DEBUG @@ -43594,7 +42813,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointerv((BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -43624,10 +42843,9 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,] @params) + void GetBufferPointer(BufferTarget target, BufferPointer pname, [In, Out] T2[,,] @params) where T2 : struct { #if DEBUG @@ -43637,7 +42855,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointerv((BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -43667,10 +42885,9 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,,] @params) + void GetBufferPointer(BufferTarget target, BufferPointer pname, [In, Out] T2[,] @params) where T2 : struct { #if DEBUG @@ -43680,7 +42897,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointerv((BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -43710,10 +42927,9 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] ref T2 @params) + void GetBufferPointer(BufferTarget target, BufferPointer pname, [In, Out] T2[] @params) where T2 : struct { #if DEBUG @@ -43723,7 +42939,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferPointerv((BufferTarget)target, (BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -43753,16 +42969,15 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params) + void GetBufferPointer(BufferTarget target, BufferPointer pname, [Out] IntPtr @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params); + Delegates.glGetBufferPointerv((BufferTarget)target, (BufferPointer)pname, (IntPtr)@params); #if DEBUG } #endif @@ -43792,10 +43007,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void GetBufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -43805,7 +43019,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -43840,10 +43054,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void GetBufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -43853,7 +43066,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -43888,49 +43101,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void GetBufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -43940,7 +43113,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -43975,10 +43148,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void GetBufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -43988,7 +43160,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -44000,6 +43172,44 @@ namespace OpenTK.Graphics } + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferSubData((BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Return the coefficients of the specified clipping plane /// @@ -44013,17 +43223,16 @@ namespace OpenTK.Graphics /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] public static - unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation) + unsafe void GetClipPlane(ClipPlaneName plane, [Out] Double* equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); + Delegates.glGetClipPlane((ClipPlaneName)plane, (Double*)equation); #if DEBUG } #endif @@ -44043,10 +43252,43 @@ namespace OpenTK.Graphics /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] public static - void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] out Double equation) + void GetClipPlane(ClipPlaneName plane, [Out] Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glGetClipPlane((ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + void GetClipPlane(ClipPlaneName plane, [Out] out Double equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -44056,7 +43298,7 @@ namespace OpenTK.Graphics { fixed (Double* equation_ptr = &equation) { - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + Delegates.glGetClipPlane((ClipPlaneName)plane, (Double*)equation_ptr); equation = *equation_ptr; } } @@ -44066,41 +43308,6 @@ namespace OpenTK.Graphics } - /// - /// Return the coefficients of the specified clipping plane - /// - /// - /// - /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. - /// - /// - /// - /// - /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Retrieve contents of a color lookup table /// @@ -44124,10 +43331,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] ref T3 table) where T3 : struct { #if DEBUG @@ -44137,7 +43343,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -44172,49 +43378,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] T3[,,] table) where T3 : struct { #if DEBUG @@ -44224,7 +43390,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -44259,10 +43425,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] T3[,] table) where T3 : struct { #if DEBUG @@ -44272,7 +43437,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -44307,10 +43472,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] T3[] table) where T3 : struct { #if DEBUG @@ -44320,7 +43484,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTable((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -44332,6 +43496,44 @@ namespace OpenTK.Graphics } + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [Out] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTable((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + /// /// Get color lookup table parameters /// @@ -44350,45 +43552,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -44398,7 +43564,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfv((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -44426,10 +43592,43 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) + unsafe void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfv((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -44439,7 +43638,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfv((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -44466,17 +43665,16 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) + unsafe void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); + Delegates.glGetColorTableParameteriv((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Int32*)@params); #if DEBUG } #endif @@ -44501,51 +43699,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -44555,7 +43711,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameteriv((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -44565,499 +43721,26 @@ namespace OpenTK.Graphics /// - /// Return a compressed texture image + /// Get color lookup table parameters /// /// /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. /// /// /// /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. /// /// /// /// - /// Pointer to storage for the parameters to be retrieved. + /// A pointer to an array where the values of the parameter will be stored. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45065,9 +43748,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameteriv((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -45076,6 +43760,433 @@ namespace OpenTK.Graphics } + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] ref T2 img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[,,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(TextureTarget target, Int32 level, [In, Out] T2[] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(TextureTarget target, Int32 level, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTexImage((TextureTarget)target, (Int32)level, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(ConvolutionTarget target, PixelFormat format, PixelType type, [In, Out] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((ConvolutionTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(ConvolutionTarget target, PixelFormat format, PixelType type, [In, Out] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((ConvolutionTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(ConvolutionTarget target, PixelFormat format, PixelType type, [In, Out] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((ConvolutionTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(ConvolutionTarget target, PixelFormat format, PixelType type, [In, Out] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((ConvolutionTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(ConvolutionTarget target, PixelFormat format, PixelType type, [Out] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilter((ConvolutionTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// /// Get convolution parameters /// @@ -45094,10 +44205,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) + void GetConvolutionParameter(ConvolutionTarget target, Version12Deprecated pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45107,7 +44217,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + Delegates.glGetConvolutionParameterfv((ConvolutionTarget)target, (Version12Deprecated)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -45135,17 +44245,16 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + unsafe void GetConvolutionParameter(ConvolutionTarget target, Version12Deprecated pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + Delegates.glGetConvolutionParameterfv((ConvolutionTarget)target, (Version12Deprecated)pname, (Single*)@params); #if DEBUG } #endif @@ -45170,10 +44279,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + void GetConvolutionParameter(ConvolutionTarget target, Version12Deprecated pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45181,10 +44289,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetConvolutionParameterfv((ConvolutionTarget)target, (Version12Deprecated)pname, (Single*)@params_ptr); } } #if DEBUG @@ -45211,10 +44318,43 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + unsafe void GetConvolutionParameter(ConvolutionTarget target, Version12Deprecated pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameteriv((ConvolutionTarget)target, (Version12Deprecated)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + void GetConvolutionParameter(ConvolutionTarget target, Version12Deprecated pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45224,7 +44364,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameteriv((ConvolutionTarget)target, (Version12Deprecated)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -45232,9 +44372,64 @@ namespace OpenTK.Graphics #endif } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + void GetConvolutionParameter(ConvolutionTarget target, Version12Deprecated pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameteriv((ConvolutionTarget)target, (Version12Deprecated)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] + public static + unsafe void GetDouble(GetPName pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoublev((GetPName)pname, (Double*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] public static - void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double[] @params) + void GetDouble(GetPName pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45244,7 +44439,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params_ptr); + Delegates.glGetDoublev((GetPName)pname, (Double*)@params_ptr); } } #if DEBUG @@ -45252,24 +44447,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] public static - unsafe void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - void GetDouble(OpenTK.Graphics.GetPName pname, [Out] out Double @params) + void GetDouble(GetPName pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45279,7 +44459,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params_ptr); + Delegates.glGetDoublev((GetPName)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -45292,17 +44472,16 @@ namespace OpenTK.Graphics /// /// Return error information /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetError")] public static - OpenTK.Graphics.ErrorCode GetError() + ErrorCode GetError() { return Delegates.glGetError(); } [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static - void GetFloat(OpenTK.Graphics.GetPName pname, [Out] out Single @params) + void GetFloat(GetPName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45312,7 +44491,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params_ptr); + Delegates.glGetFloatv((GetPName)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -45324,13 +44503,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static - unsafe void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single* @params) + unsafe void GetFloat(GetPName pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params); + Delegates.glGetFloatv((GetPName)pname, (Single*)@params); #if DEBUG } #endif @@ -45338,7 +44517,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static - void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single[] @params) + void GetFloat(GetPName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45348,7 +44527,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params_ptr); + Delegates.glGetFloatv((GetPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -45385,22 +44564,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) + unsafe void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetFramebufferAttachmentParameteriv((FramebufferTarget)target, (FramebufferAttachment)attachment, (FramebufferParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -45408,7 +44581,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) + void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45418,7 +44591,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetFramebufferAttachmentParameteriv((FramebufferTarget)target, (FramebufferAttachment)attachment, (FramebufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -45426,16 +44599,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) + void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameteriv((FramebufferTarget)target, (FramebufferAttachment)attachment, (FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -45470,54 +44649,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + void GetHistogram(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] ref T4 values) where T4 : struct { #if DEBUG @@ -45527,7 +44661,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogram((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -45567,10 +44701,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + void GetHistogram(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,,] values) where T4 : struct { #if DEBUG @@ -45580,7 +44713,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogram((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -45620,10 +44753,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + void GetHistogram(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,] values) where T4 : struct { #if DEBUG @@ -45633,7 +44765,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogram((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -45673,10 +44805,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + void GetHistogram(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[] values) where T4 : struct { #if DEBUG @@ -45686,7 +44817,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogram((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -45698,6 +44829,49 @@ namespace OpenTK.Graphics } + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogram((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + /// /// Get histogram parameters /// @@ -45716,45 +44890,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) + void GetHistogramParameter(Version12Deprecated target, Version12Deprecated pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45764,7 +44902,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + Delegates.glGetHistogramParameterfv((Version12Deprecated)target, (Version12Deprecated)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -45792,10 +44930,43 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + unsafe void GetHistogramParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfv((Version12Deprecated)target, (Version12Deprecated)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + void GetHistogramParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45805,7 +44976,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + Delegates.glGetHistogramParameterfv((Version12Deprecated)target, (Version12Deprecated)pname, (Single*)@params_ptr); } } #if DEBUG @@ -45832,17 +45003,16 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + unsafe void GetHistogramParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + Delegates.glGetHistogramParameteriv((Version12Deprecated)target, (Version12Deprecated)pname, (Int32*)@params); #if DEBUG } #endif @@ -45867,10 +45037,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + void GetHistogramParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45880,7 +45049,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + Delegates.glGetHistogramParameteriv((Version12Deprecated)target, (Version12Deprecated)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -45907,10 +45076,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + void GetHistogramParameter(Version12Deprecated target, Version12Deprecated pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45920,7 +45088,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + Delegates.glGetHistogramParameteriv((Version12Deprecated)target, (Version12Deprecated)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -45932,20 +45100,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] public static - void GetInteger64(OpenTK.Graphics.Version32 target, UInt32 index, [Out] out Int64 data) + unsafe void GetInteger64(Version32 target, Int32 index, [Out] Int64* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int64* data_ptr = &data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); - data = *data_ptr; - } - } + Delegates.glGetInteger64i_v((Version32)target, (UInt32)index, (Int64*)data); #if DEBUG } #endif @@ -45953,7 +45114,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] public static - void GetInteger64(OpenTK.Graphics.Version32 target, Int32 index, [Out] Int64[] data) + void GetInteger64(Version32 target, Int32 index, [Out] Int64[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -45963,7 +45124,7 @@ namespace OpenTK.Graphics { fixed (Int64* data_ptr = data) { - Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); + Delegates.glGetInteger64i_v((Version32)target, (UInt32)index, (Int64*)data_ptr); } } #if DEBUG @@ -45971,60 +45132,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] public static - void GetInteger64(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* data_ptr = data) - { - Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.Version32 target, Int32 index, [Out] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - unsafe void GetInteger64(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] - public static - void GetInteger64(OpenTK.Graphics.Version32 target, Int32 index, [Out] out Int64 data) + void GetInteger64(Version32 target, Int32 index, [Out] out Int64 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46034,7 +45144,7 @@ namespace OpenTK.Graphics { fixed (Int64* data_ptr = &data) { - Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); + Delegates.glGetInteger64i_v((Version32)target, (UInt32)index, (Int64*)data_ptr); data = *data_ptr; } } @@ -46043,9 +45153,25 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] public static - void GetInteger64(OpenTK.Graphics.ArbSync pname, [Out] out Int64 @params) + unsafe void GetInteger64(Version32 target, UInt32 index, [Out] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64i_v((Version32)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger64(Version32 target, UInt32 index, [Out] Int64[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46053,10 +45179,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int64* @params_ptr = &@params) + fixed (Int64* data_ptr = data) { - Delegates.glGetInteger64v((OpenTK.Graphics.ArbSync)pname, (Int64*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetInteger64i_v((Version32)target, (UInt32)index, (Int64*)data_ptr); } } #if DEBUG @@ -46064,9 +45189,46 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger64(Version32 target, UInt32 index, [Out] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Delegates.glGetInteger64i_v((Version32)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] public static - void GetInteger64(OpenTK.Graphics.ArbSync pname, [Out] Int64[] @params) + unsafe void GetInteger64(ArbSync pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64v((ArbSync)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(ArbSync pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46076,7 +45238,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = @params) { - Delegates.glGetInteger64v((OpenTK.Graphics.ArbSync)pname, (Int64*)@params_ptr); + Delegates.glGetInteger64v((ArbSync)pname, (Int64*)@params_ptr); } } #if DEBUG @@ -46084,25 +45246,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] public static - unsafe void GetInteger64(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInteger64v((OpenTK.Graphics.ArbSync)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out Int32 data) + void GetInteger64(ArbSync pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46110,137 +45256,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* data_ptr = &data) + fixed (Int64* @params_ptr = &@params) { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - void GetInteger(OpenTK.Graphics.GetPName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params_ptr); + Delegates.glGetInteger64v((ArbSync)pname, (Int64*)@params_ptr); @params = *@params_ptr; } } @@ -46249,9 +45267,138 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(GetIndexedPName target, Int32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegeri_v((GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(GetIndexedPName target, Int32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(GetIndexedPName target, Int32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegeri_v((GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(GetIndexedPName target, UInt32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegeri_v((GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(GetIndexedPName target, UInt32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(GetIndexedPName target, UInt32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegeri_v((GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] public static - void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32[] @params) + unsafe void GetInteger(GetPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(GetPName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46261,7 +45408,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params_ptr); + Delegates.glGetIntegerv((GetPName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -46269,29 +45416,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single[] @params) + void GetInteger(GetPName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46299,9 +45426,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); + Delegates.glGetIntegerv((GetPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -46328,10 +45456,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Single @params) + void GetLight(LightName light, LightParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46341,7 +45468,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); + Delegates.glGetLightfv((LightName)light, (LightParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -46369,17 +45496,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] public static - unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params) + unsafe void GetLight(LightName light, LightParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); + Delegates.glGetLightfv((LightName)light, (LightParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -46404,17 +45530,55 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + void GetLight(LightName light, LightParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetLightfv((LightName)light, (LightParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] public static - unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params) + unsafe void GetLight(LightName light, LightParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); + Delegates.glGetLightiv((LightName)light, (LightParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -46439,10 +45603,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32[] @params) + void GetLight(LightName light, LightParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46452,7 +45615,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + Delegates.glGetLightiv((LightName)light, (LightParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -46479,10 +45642,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Int32 @params) + void GetLight(LightName light, LightParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46492,7 +45654,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + Delegates.glGetLightiv((LightName)light, (LightParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -46520,58 +45682,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v) + unsafe void GetMap(MapTarget target, GetMapQuery query, [Out] Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v); + Delegates.glGetMapdv((MapTarget)target, (GetMapQuery)query, (Double*)v); #if DEBUG } #endif @@ -46596,10 +45716,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double[] v) + void GetMap(MapTarget target, GetMapQuery query, [Out] Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46609,7 +45728,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr); + Delegates.glGetMapdv((MapTarget)target, (GetMapQuery)query, (Double*)v_ptr); } } #if DEBUG @@ -46636,10 +45755,49 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + void GetMap(MapTarget target, GetMapQuery query, [Out] out Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glGetMapdv((MapTarget)target, (GetMapQuery)query, (Double*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Single v) + void GetMap(MapTarget target, GetMapQuery query, [Out] out Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46649,7 +45807,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr); + Delegates.glGetMapfv((MapTarget)target, (GetMapQuery)query, (Single*)v_ptr); v = *v_ptr; } } @@ -46677,17 +45835,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single* v) + unsafe void GetMap(MapTarget target, GetMapQuery query, [Out] Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v); + Delegates.glGetMapfv((MapTarget)target, (GetMapQuery)query, (Single*)v); #if DEBUG } #endif @@ -46712,10 +45869,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single[] v) + void GetMap(MapTarget target, GetMapQuery query, [Out] Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46725,7 +45881,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr); + Delegates.glGetMapfv((MapTarget)target, (GetMapQuery)query, (Single*)v_ptr); } } #if DEBUG @@ -46752,10 +45908,82 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v) + unsafe void GetMap(MapTarget target, GetMapQuery query, [Out] Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapiv((MapTarget)target, (GetMapQuery)query, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + void GetMap(MapTarget target, GetMapQuery query, [Out] Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glGetMapiv((MapTarget)target, (GetMapQuery)query, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + void GetMap(MapTarget target, GetMapQuery query, [Out] out Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46765,7 +45993,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = &v) { - Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); + Delegates.glGetMapiv((MapTarget)target, (GetMapQuery)query, (Int32*)v_ptr); v = *v_ptr; } } @@ -46775,81 +46003,6 @@ namespace OpenTK.Graphics } - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Return material parameters /// @@ -46868,45 +46021,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static - unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) + void GetMaterial(MaterialFace face, MaterialParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46916,7 +46033,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + Delegates.glGetMaterialfv((MaterialFace)face, (MaterialParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -46944,10 +46061,43 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) + unsafe void GetMaterial(MaterialFace face, MaterialParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialfv((MaterialFace)face, (MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(MaterialFace face, MaterialParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -46957,7 +46107,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + Delegates.glGetMaterialfv((MaterialFace)face, (MaterialParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -46984,17 +46134,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static - unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + unsafe void GetMaterial(MaterialFace face, MaterialParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + Delegates.glGetMaterialiv((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -47019,51 +46168,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) + void GetMaterial(MaterialFace face, MaterialParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47073,7 +46180,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + Delegates.glGetMaterialiv((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -47083,283 +46190,26 @@ namespace OpenTK.Graphics /// - /// Get minimum and maximum pixel values + /// Return material parameters /// - /// + /// /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. /// /// /// /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. /// /// /// /// - /// A pointer to storage for the retrieved parameters. + /// Returns the requested data. /// /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + void GetMaterial(MaterialFace face, MaterialParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47367,9 +46217,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + Delegates.glGetMaterialiv((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -47379,34 +46230,250 @@ namespace OpenTK.Graphics /// - /// Get minmax parameters + /// Get minimum and maximum pixel values /// /// /// /// Must be GL_MINMAX. /// /// - /// + /// /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. /// /// - /// + /// /// - /// A pointer to storage for the retrieved parameters. + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) + void GetMinmax(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] ref T4 values) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(Version12Deprecated target, bool reset, PixelFormat format, PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmax((Version12Deprecated)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values); #if DEBUG } #endif @@ -47431,10 +46498,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) + void GetMinmaxParameter(Version12Deprecated target, Version12Deprecated pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47444,7 +46510,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + Delegates.glGetMinmaxParameterfv((Version12Deprecated)target, (Version12Deprecated)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -47472,10 +46538,43 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + unsafe void GetMinmaxParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfv((Version12Deprecated)target, (Version12Deprecated)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + void GetMinmaxParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47483,10 +46582,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetMinmaxParameterfv((Version12Deprecated)target, (Version12Deprecated)pname, (Single*)@params_ptr); } } #if DEBUG @@ -47513,17 +46611,16 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + unsafe void GetMinmaxParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + Delegates.glGetMinmaxParameteriv((Version12Deprecated)target, (Version12Deprecated)pname, (Int32*)@params); #if DEBUG } #endif @@ -47548,10 +46645,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + void GetMinmaxParameter(Version12Deprecated target, Version12Deprecated pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47561,7 +46657,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + Delegates.glGetMinmaxParameteriv((Version12Deprecated)target, (Version12Deprecated)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -47569,10 +46665,28 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static - void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single[] val) + void GetMinmaxParameter(Version12Deprecated target, Version12Deprecated pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47580,9 +46694,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* val_ptr = val) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + Delegates.glGetMinmaxParameteriv((Version12Deprecated)target, (Version12Deprecated)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -47590,10 +46705,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] out Single val) + void GetMultisample(ArbTextureMultisample pname, Int32 index, [Out] out Single val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47603,48 +46717,7 @@ namespace OpenTK.Graphics { fixed (Single* val_ptr = &val) { - Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, Int32 index, [Out] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] - public static - void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, Int32 index, [Out] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + Delegates.glGetMultisamplefv((ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); val = *val_ptr; } } @@ -47656,13 +46729,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - unsafe void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val) + unsafe void GetMultisample(ArbTextureMultisample pname, Int32 index, [Out] Single* val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val); + Delegates.glGetMultisamplefv((ArbTextureMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(ArbTextureMultisample pname, Int32 index, [Out] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefv((ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } #if DEBUG } #endif @@ -47671,13 +46764,56 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - unsafe void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, Int32 index, [Out] Single* val) + void GetMultisample(ArbTextureMultisample pname, UInt32 index, [Out] out Single val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val); + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefv((ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + unsafe void GetMultisample(ArbTextureMultisample pname, UInt32 index, [Out] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefv((ArbTextureMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(ArbTextureMultisample pname, UInt32 index, [Out] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefv((ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } #if DEBUG } #endif @@ -47697,40 +46833,9 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Single values) + void GetPixelMap(PixelMap map, [Out] out Single values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47740,7 +46845,7 @@ namespace OpenTK.Graphics { fixed (Single* values_ptr = &values) { - Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr); + Delegates.glGetPixelMapfv((PixelMap)map, (Single*)values_ptr); values = *values_ptr; } } @@ -47763,10 +46868,38 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single[] values) + unsafe void GetPixelMap(PixelMap map, [Out] Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapfv((PixelMap)map, (Single*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + void GetPixelMap(PixelMap map, [Out] Single[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47776,7 +46909,7 @@ namespace OpenTK.Graphics { fixed (Single* values_ptr = values) { - Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr); + Delegates.glGetPixelMapfv((PixelMap)map, (Single*)values_ptr); } } #if DEBUG @@ -47798,24 +46931,16 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt32 values) + unsafe void GetPixelMap(PixelMap map, [Out] Int32* values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; - } - } + Delegates.glGetPixelMapuiv((PixelMap)map, (UInt32*)values); #if DEBUG } #endif @@ -47835,82 +46960,9 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values) + void GetPixelMap(PixelMap map, [Out] Int32[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47920,7 +46972,7 @@ namespace OpenTK.Graphics { fixed (Int32* values_ptr = values) { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + Delegates.glGetPixelMapuiv((PixelMap)map, (UInt32*)values_ptr); } } #if DEBUG @@ -47942,17 +46994,22 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32* values) + void GetPixelMap(PixelMap map, [Out] out Int32 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetPixelMapuiv((PixelMap)map, (UInt32*)values_ptr); + values = *values_ptr; + } + } #if DEBUG } #endif @@ -47972,17 +47029,23 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32* values) + void GetPixelMap(PixelMap map, [Out] out UInt32 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); + unsafe + { + fixed (UInt32* values_ptr = &values) + { + Delegates.glGetPixelMapuiv((PixelMap)map, (UInt32*)values_ptr); + values = *values_ptr; + } + } #if DEBUG } #endif @@ -48002,10 +47065,102 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(PixelMap map, [Out] UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(PixelMap map, [Out] UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((PixelMap)map, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16[] values) + unsafe void GetPixelMap(PixelMap map, [Out] Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapusv((PixelMap)map, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(PixelMap map, [Out] Int16[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48015,7 +47170,7 @@ namespace OpenTK.Graphics { fixed (Int16* values_ptr = values) { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + Delegates.glGetPixelMapusv((PixelMap)map, (UInt16*)values_ptr); } } #if DEBUG @@ -48037,106 +47192,9 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int16 values) + void GetPixelMap(PixelMap map, [Out] out Int16 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48146,7 +47204,7 @@ namespace OpenTK.Graphics { fixed (Int16* values_ptr = &values) { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + Delegates.glGetPixelMapusv((PixelMap)map, (UInt16*)values_ptr); values = *values_ptr; } } @@ -48169,11 +47227,10 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt16 values) + void GetPixelMap(PixelMap map, [Out] out UInt16 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48183,7 +47240,7 @@ namespace OpenTK.Graphics { fixed (UInt16* values_ptr = &values) { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + Delegates.glGetPixelMapusv((PixelMap)map, (UInt16*)values_ptr); values = *values_ptr; } } @@ -48194,37 +47251,28 @@ namespace OpenTK.Graphics /// - /// Return the address of the specified pointer + /// Return the specified pixel map /// - /// + /// /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. /// /// - /// + /// /// - /// Returns the pointer value specified by pname. + /// Returns the pixel map contents. /// /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) - where T1 : struct + unsafe void GetPixelMap(PixelMap map, [Out] UInt16* values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } + Delegates.glGetPixelMapusv((PixelMap)map, (UInt16*)values); #if DEBUG } #endif @@ -48232,160 +47280,22 @@ namespace OpenTK.Graphics /// - /// Return the address of the specified pointer + /// Return the specified pixel map /// - /// + /// /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. /// /// - /// + /// /// - /// Returns the pointer value specified by pname. + /// Returns the pixel map contents. /// /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the polygon stipple pattern - /// - /// - /// - /// Returns the stipple pattern. The initial value is all 1's. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - void GetPolygonStipple([Out] out Byte mask) + void GetPixelMap(PixelMap map, [Out] UInt16[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48393,10 +47303,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* mask_ptr = &mask) + fixed (UInt16* values_ptr = values) { - Delegates.glGetPolygonStipple((Byte*)mask_ptr); - mask = *mask_ptr; + Delegates.glGetPixelMapusv((PixelMap)map, (UInt16*)values_ptr); } } #if DEBUG @@ -48405,6 +47314,182 @@ namespace OpenTK.Graphics } + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(GetPointervPName pname, [In, Out] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(GetPointervPName pname, [In, Out] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(GetPointervPName pname, [In, Out] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(GetPointervPName pname, [In, Out] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(GetPointervPName pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerv((GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + /// /// Return the polygon stipple pattern /// @@ -48413,7 +47498,6 @@ namespace OpenTK.Graphics /// Returns the stipple pattern. The initial value is all 1's. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] public static @@ -48438,7 +47522,6 @@ namespace OpenTK.Graphics /// Returns the stipple pattern. The initial value is all 1's. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] public static void GetPolygonStipple([Out] Byte[] mask) @@ -48460,6 +47543,36 @@ namespace OpenTK.Graphics } + /// + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + void GetPolygonStipple([Out] out Byte mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = &mask) + { + Delegates.glGetPolygonStipple((Byte*)mask_ptr); + mask = *mask_ptr; + } + } + #if DEBUG + } + #endif + } + + /// /// Returns the information log for a program object /// @@ -48483,11 +47596,10 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48523,7 +47635,6 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) @@ -48569,24 +47680,16 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); #if DEBUG } #endif @@ -48616,1590 +47719,10 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object target - /// - /// - /// - /// Specifies a query object target. Must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - unsafe void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object target - /// - /// - /// - /// Specifies a query object target. Must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object target - /// - /// - /// - /// Specifies a query object target. Must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a shader object - /// - /// - /// - /// Specifies the shader object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50209,7 +47732,7 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); length = *length_ptr; } } @@ -50219,6 +47742,1514 @@ namespace OpenTK.Graphics } + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(Int32 program, ProgramParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, ProgramParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, ProgramParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(UInt32 program, ProgramParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, ProgramParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, ProgramParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + unsafe void GetQuery(QueryTarget target, GetQueryParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryiv((QueryTarget)target, (GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(QueryTarget target, GetQueryParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryiv((QueryTarget)target, (GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(QueryTarget target, GetQueryParam pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryiv((QueryTarget)target, (GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(Int32 id, GetQueryObjectParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, GetQueryObjectParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, GetQueryObjectParam pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (GetQueryObjectParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + unsafe void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectuiv((UInt32)id, (GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, GetQueryObjectParam pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + unsafe void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameteriv((RenderbufferTarget)target, (RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameteriv((RenderbufferTarget)target, (RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameteriv((RenderbufferTarget)target, (RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(Version12Deprecated target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilter((Version12Deprecated)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + /// /// Returns the information log for a shader object /// @@ -50242,7 +49273,6 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] public static @@ -50282,7 +49312,51 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + /// + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] public static @@ -50322,10 +49396,10 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50363,17 +49437,16 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params) + unsafe void GetShader(Int32 shader, ShaderParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); + Delegates.glGetShaderiv((UInt32)shader, (ShaderParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -50398,10 +49471,48 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static - void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) + void GetShader(Int32 shader, ShaderParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, ShaderParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50411,7 +49522,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + Delegates.glGetShaderiv((UInt32)shader, (ShaderParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -50439,11 +49550,84 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static - void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) + unsafe void GetShader(UInt32 shader, ShaderParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, ShaderParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, ShaderParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50453,7 +49637,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + Delegates.glGetShaderiv((UInt32)shader, (ShaderParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -50463,122 +49647,6 @@ namespace OpenTK.Graphics } - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// /// Returns the source code string from a shader object /// @@ -50602,47 +49670,6 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)source); - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] public static @@ -50682,11 +49709,9 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder source) + void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder source) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50729,10 +49754,49 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] public static - void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder source) + unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder source) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50760,16 +49824,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetString")] public static - string GetString(OpenTK.Graphics.StringName name) + string GetString(StringName name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetString((OpenTK.Graphics.StringName)name)); + return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetString((StringName)name)); #if DEBUG } #endif @@ -50784,41 +49847,72 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. /// /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] + public static + string GetString(StringName name, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((StringName)name, (UInt32)index)); + #if DEBUG + } + #endif + } + + /// + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] public static - string GetString(OpenTK.Graphics.StringName name, UInt32 index) + string GetString(StringName name, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((OpenTK.Graphics.StringName)name, (UInt32)index)); + return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((StringName)name, (UInt32)index)); #if DEBUG } #endif } - - /// - /// Return a string describing the current GL connection - /// - /// - /// - /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. - /// - /// - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] public static - string GetString(OpenTK.Graphics.StringName name, Int32 index) + unsafe void GetSync(IntPtr sync, ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((OpenTK.Graphics.StringName)name, (UInt32)index)); + Delegates.glGetSynciv((IntPtr)sync, (ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] + public static + unsafe void GetSync(IntPtr sync, ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* values_ptr = values) + { + Delegates.glGetSynciv((IntPtr)sync, (ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values_ptr); + } #if DEBUG } #endif @@ -50826,7 +49920,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] public static - void GetSync(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 values) + void GetSync(IntPtr sync, ArbSync pname, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50837,7 +49931,7 @@ namespace OpenTK.Graphics fixed (Int32* length_ptr = &length) fixed (Int32* values_ptr = &values) { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ArbSync)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + Delegates.glGetSynciv((IntPtr)sync, (ArbSync)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); length = *length_ptr; values = *values_ptr; } @@ -50847,39 +49941,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* values_ptr = values) - { - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] - public static - unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - #if DEBUG - } - #endif - } - /// /// Return texture environment parameters @@ -50899,45 +49960,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static - unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) + void GetTexEnv(TextureEnvTarget target, TextureEnvParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50947,7 +49972,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexEnvfv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -50975,10 +50000,43 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) + unsafe void GetTexEnv(TextureEnvTarget target, TextureEnvParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvfv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(TextureEnvTarget target, TextureEnvParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50988,7 +50046,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexEnvfv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -51015,17 +50073,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static - unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params) + unsafe void GetTexEnv(TextureEnvTarget target, TextureEnvParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); + Delegates.glGetTexEnviv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -51050,51 +50107,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + void GetTexEnv(TextureEnvTarget target, TextureEnvParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51104,7 +50119,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexEnviv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -51114,16 +50129,16 @@ namespace OpenTK.Graphics /// - /// Return texture coordinate generation parameters + /// Return texture environment parameters /// - /// + /// /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. /// /// /// /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. /// /// /// @@ -51131,45 +50146,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) + void GetTexEnv(TextureEnvTarget target, TextureEnvParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51177,9 +50156,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* @params_ptr = &@params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glGetTexEnviv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -51207,10 +50186,43 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) + unsafe void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGendv((TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51220,7 +50232,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glGetTexGendv((TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -51247,45 +50259,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) + void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51293,9 +50269,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Double* @params_ptr = &@params) { - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexGendv((TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -51323,10 +50299,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) + void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51334,9 +50309,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexGenfv((TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -51363,17 +50339,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) + unsafe void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + Delegates.glGetTexGenfv((TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -51398,10 +50373,82 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexGenfv((TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) + unsafe void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGeniv((TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51411,7 +50458,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexGeniv((TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -51438,10 +50485,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) + void GetTexGen(TextureCoordName coord, TextureGenParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51451,7 +50497,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexGeniv((TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -51489,10 +50535,9 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) + void GetTexImage(TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] ref T4 pixels) where T4 : struct { #if DEBUG @@ -51502,7 +50547,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glGetTexImage((TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -51542,54 +50587,9 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Return a texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the texture image. Should be a pointer to an array of the type specified by type. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + void GetTexImage(TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T4[,,] pixels) where T4 : struct { #if DEBUG @@ -51599,7 +50599,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glGetTexImage((TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -51639,10 +50639,9 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + void GetTexImage(TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T4[,] pixels) where T4 : struct { #if DEBUG @@ -51652,7 +50651,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glGetTexImage((TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -51692,10 +50691,9 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + void GetTexImage(TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T4[] pixels) where T4 : struct { #if DEBUG @@ -51705,7 +50703,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glGetTexImage((TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -51717,6 +50715,49 @@ namespace OpenTK.Graphics } + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(TextureTarget target, Int32 level, PixelFormat format, PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexImage((TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// /// Return texture parameter values for a specific level of detail /// @@ -51740,50 +50781,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values for a specific level of detail - /// - /// - /// - /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51793,7 +50793,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexLevelParameterfv((TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -51826,10 +50826,48 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static - void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + unsafe void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexLevelParameterfv((TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] + public static + void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51839,7 +50877,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexLevelParameterfv((TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -51871,17 +50909,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + unsafe void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + Delegates.glGetTexLevelParameteriv((TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -51911,56 +50948,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static - void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values for a specific level of detail - /// - /// - /// - /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] - public static - void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51970,7 +50960,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexLevelParameteriv((TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -51980,27 +50970,31 @@ namespace OpenTK.Graphics /// - /// Return texture parameter values + /// Return texture parameter values for a specific level of detail /// /// /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. /// /// /// /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. /// /// /// /// - /// Returns the texture parameters. + /// Returns the requested data. /// /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52008,49 +51002,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + Delegates.glGetTexLevelParameteriv((TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -52078,17 +51032,110 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static - unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexParameterfv((TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + public static + unsafe void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterfv((TextureTarget)target, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexParameterfv((TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + unsafe void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIiv((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -52096,7 +51143,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52106,7 +51153,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexParameterIiv((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -52116,7 +51163,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52126,7 +51173,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexParameterIiv((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -52135,46 +51182,10 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52184,7 +51195,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetTexParameterIuiv((TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -52196,41 +51207,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) + unsafe void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); + Delegates.glGetTexParameterIuiv((TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params); #if DEBUG } #endif } - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52238,10 +51230,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt32* @params_ptr = @params) { - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetTexParameterIuiv((TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -52268,17 +51259,16 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static - unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + unsafe void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + Delegates.glGetTexParameteriv((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -52303,10 +51293,9 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52316,7 +51305,47 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexParameteriv((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameteriv((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -52327,28 +51356,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ActiveAttribType* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ActiveAttribType*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -52356,7 +51370,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ActiveAttribType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52366,9 +51380,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + fixed (ActiveAttribType* type_ptr = &type) { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -52382,7 +51396,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ActiveAttribType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52392,9 +51421,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + fixed (ActiveAttribType* type_ptr = &type) { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -52453,17 +51482,22 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params) + void GetUniform(Int32 program, Int32 location, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -52488,7 +51522,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -52523,7 +51556,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static void GetUniform(Int32 program, Int32 location, [Out] Single[] @params) @@ -52563,48 +51595,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -52646,10 +51636,44 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static - void GetUniform(Int32 program, Int32 location, [Out] out Single @params) + unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52657,10 +51681,65 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] out Int32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; } } #if DEBUG @@ -52705,62 +51784,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] out Int32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] public static @@ -52801,24 +51824,16 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static - void GetUniform(UInt32 program, Int32 location, [Out] out Int32 @params) + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); #if DEBUG } #endif @@ -52843,7 +51858,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) @@ -52883,11 +51897,50 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52918,7 +51971,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -52959,45 +52011,10 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) + void GetUniform(UInt32 program, Int32 location, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53030,11 +52047,9 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] public static - Int32 GetUniformLocation(UInt32 program, String name) + Int32 GetUniformLocation(Int32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53060,10 +52075,10 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] public static - Int32 GetUniformLocation(Int32 program, String name) + Int32 GetUniformLocation(UInt32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53094,7 +52109,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -53136,7 +52150,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -53171,7 +52184,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -53212,10 +52224,43 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + unsafe void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53225,7 +52270,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdv((UInt32)index, (VertexAttribParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -53252,80 +52297,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) + void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53335,7 +52309,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdv((UInt32)index, (VertexAttribParameter)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -53363,11 +52337,44 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53377,7 +52384,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdv((UInt32)index, (VertexAttribParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -53404,11 +52411,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) + void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53418,7 +52424,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdv((UInt32)index, (VertexAttribParameter)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -53446,45 +52452,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) + void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53494,7 +52464,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfv((UInt32)index, (VertexAttribParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -53522,17 +52492,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) + unsafe void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); + Delegates.glGetVertexAttribfv((UInt32)index, (VertexAttribParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -53557,11 +52526,49 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) + void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53571,7 +52578,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfv((UInt32)index, (VertexAttribParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -53599,23 +52606,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) + unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } + Delegates.glGetVertexAttribfv((UInt32)index, (VertexAttribParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -53640,10 +52640,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) + void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53653,7 +52653,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfv((UInt32)index, (VertexAttribParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -53661,9 +52661,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + unsafe void GetVertexAttribI(Int32 index, VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(Int32 index, VertexAttribParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53673,7 +52688,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribIiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -53685,13 +52700,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + unsafe void GetVertexAttribI(UInt32 index, VertexAttribParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); + Delegates.glGetVertexAttribIiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -53700,7 +52715,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + void GetVertexAttribI(UInt32 index, VertexAttribParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53710,7 +52725,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribIiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -53719,25 +52734,10 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out UInt32 @params) + void GetVertexAttribI(UInt32 index, VertexAttribParameter pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53747,7 +52747,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetVertexAttribIuiv((UInt32)index, (VertexAttribParameter)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -53759,13 +52759,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] UInt32* @params) + unsafe void GetVertexAttribI(UInt32 index, VertexAttribParameter pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (UInt32*)@params); + Delegates.glGetVertexAttribIuiv((UInt32)index, (VertexAttribParameter)pname, (UInt32*)@params); #if DEBUG } #endif @@ -53790,11 +52790,43 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) + unsafe void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53804,7 +52836,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -53831,85 +52863,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + void GetVertexAttrib(Int32 index, VertexAttribParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53919,7 +52875,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -53947,11 +52903,44 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + unsafe void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53959,10 +52948,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetVertexAttribiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -53989,17 +52977,23 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + void GetVertexAttrib(UInt32 index, VertexAttribParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -54024,16 +53018,24 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) + void GetVertexAttribPointer(Int32 index, VertexAttribPointerType pname, [In, Out] ref T2 pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -54058,11 +53060,169 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerType pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerType pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerType pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, VertexAttribPointerType pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerType pname, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -54072,7 +53232,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54102,11 +53262,10 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerType pname, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -54116,7 +53275,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54146,88 +53305,10 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerType pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -54237,7 +53318,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54267,11 +53348,10 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerType pname, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -54281,7 +53361,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54311,112 +53391,16 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) - where T2 : struct + void GetVertexAttribPointer(UInt32 index, VertexAttribPointerType pname, [Out] IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glGetVertexAttribPointerv((UInt32)index, (VertexAttribPointerType)pname, (IntPtr)pointer); #if DEBUG } #endif @@ -54436,16 +53420,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glHint")] public static - void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode) + void Hint(HintTarget target, HintMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glHint((OpenTK.Graphics.HintTarget)target, (OpenTK.Graphics.HintMode)mode); + Delegates.glHint((HintTarget)target, (HintMode)mode); #if DEBUG } #endif @@ -54475,16 +53458,15 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glHistogram")] public static - void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + void Histogram(Version12Deprecated target, Int32 width, PixelInternalFormat internalformat, bool sink) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glHistogram((OpenTK.Graphics.Version12Deprecated)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + Delegates.glHistogram((Version12Deprecated)target, (Int32)width, (PixelInternalFormat)internalformat, (bool)sink); #if DEBUG } #endif @@ -54502,7 +53484,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexd")] public static void Index(Double c) @@ -54529,7 +53510,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexdv")] public static @@ -54557,7 +53537,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexf")] public static void Index(Single c) @@ -54584,7 +53563,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexfv")] public static @@ -54612,7 +53590,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexi")] public static void Index(Int32 c) @@ -54639,7 +53616,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexiv")] public static @@ -54664,7 +53640,6 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] public static void IndexMask(Int32 mask) @@ -54688,7 +53663,6 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] public static @@ -54723,10 +53697,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer) + void IndexPointer(IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -54736,7 +53709,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointer((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54766,10 +53739,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void IndexPointer(IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -54779,7 +53751,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointer((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54809,10 +53781,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + void IndexPointer(IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -54822,7 +53793,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointer((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54852,10 +53823,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer) + void IndexPointer(IndexPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -54865,7 +53835,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointer((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -54895,16 +53865,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer) + void IndexPointer(IndexPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glIndexPointer((IndexPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -54922,7 +53891,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexs")] public static void Index(Int16 c) @@ -54949,7 +53917,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexsv")] public static @@ -54977,7 +53944,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexub")] public static void Index(Byte c) @@ -55004,7 +53970,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexubv")] public static @@ -55024,7 +53989,6 @@ namespace OpenTK.Graphics /// /// Initialize the name stack /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glInitNames")] public static void InitNames() @@ -55053,10 +54017,9 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[] pointer) + void InterleavedArrays(InterleavedArrayFormat format, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -55066,7 +54029,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glInterleavedArrays((InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -55091,10 +54054,9 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) + void InterleavedArrays(InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -55104,7 +54066,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glInterleavedArrays((InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -55129,10 +54091,9 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,,] pointer) + void InterleavedArrays(InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -55142,7 +54103,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glInterleavedArrays((InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -55167,10 +54128,9 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] ref T2 pointer) + void InterleavedArrays(InterleavedArrayFormat format, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -55180,7 +54140,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glInterleavedArrays((InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -55205,16 +54165,15 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) + void InterleavedArrays(InterleavedArrayFormat format, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); + Delegates.glInterleavedArrays((InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -55229,7 +54188,29 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + /// + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] public static @@ -55246,30 +54227,6 @@ namespace OpenTK.Graphics } - /// - /// Determine if a name corresponds to a buffer object - /// - /// - /// - /// Specifies a value that may be the name of a buffer object. - /// - /// - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } - - /// /// Test whether a capability is enabled /// @@ -55278,16 +54235,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glIsEnabled")] public static - bool IsEnabled(OpenTK.Graphics.EnableCap cap) + bool IsEnabled(EnableCap cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsEnabled((OpenTK.Graphics.EnableCap)cap); + return Delegates.glIsEnabled((EnableCap)cap); #if DEBUG } #endif @@ -55302,16 +54258,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] public static - bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, Int32 index) + bool IsEnabled(IndexedEnableCap target, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + return Delegates.glIsEnabledi((IndexedEnableCap)target, (UInt32)index); #if DEBUG } #endif @@ -55326,17 +54281,16 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] public static - bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + bool IsEnabled(IndexedEnableCap target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + return Delegates.glIsEnabledi((IndexedEnableCap)target, (UInt32)index); #if DEBUG } #endif @@ -55380,11 +54334,9 @@ namespace OpenTK.Graphics /// Specifies a potential display list name. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] public static - bool IsList(UInt32 list) + bool IsList(Int32 list) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55405,10 +54357,10 @@ namespace OpenTK.Graphics /// Specifies a potential display list name. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] public static - bool IsList(Int32 list) + bool IsList(UInt32 list) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55429,11 +54381,9 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] public static - bool IsProgram(UInt32 program) + bool IsProgram(Int32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55454,10 +54404,10 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] public static - bool IsProgram(Int32 program) + bool IsProgram(UInt32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55478,11 +54428,9 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] public static - bool IsQuery(UInt32 id) + bool IsQuery(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55503,10 +54451,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] public static - bool IsQuery(Int32 id) + bool IsQuery(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55556,7 +54504,6 @@ namespace OpenTK.Graphics /// Specifies a potential shader object. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] public static bool IsShader(Int32 shader) @@ -55580,7 +54527,6 @@ namespace OpenTK.Graphics /// Specifies a potential shader object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] public static @@ -55619,11 +54565,9 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a texture. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] public static - bool IsTexture(UInt32 texture) + bool IsTexture(Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55644,10 +54588,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a texture. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] public static - bool IsTexture(Int32 texture) + bool IsTexture(UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55659,6 +54603,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] public static @@ -55674,20 +54632,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } - /// /// Set light source parameters @@ -55707,16 +54651,15 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightf")] public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param) + void Light(LightName light, LightParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightf((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single)param); + Delegates.glLightf((LightName)light, (LightParameter)pname, (Single)param); #if DEBUG } #endif @@ -55741,17 +54684,16 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] public static - unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single* @params) + unsafe void Light(LightName light, LightParameter pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); + Delegates.glLightfv((LightName)light, (LightParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -55776,10 +54718,9 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single[] @params) + void Light(LightName light, LightParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55789,7 +54730,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); + Delegates.glLightfv((LightName)light, (LightParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -55816,16 +54757,15 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLighti")] public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param) + void Light(LightName light, LightParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLighti((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32)param); + Delegates.glLighti((LightName)light, (LightParameter)pname, (Int32)param); #if DEBUG } #endif @@ -55850,17 +54790,16 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] public static - unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params) + unsafe void Light(LightName light, LightParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); + Delegates.glLightiv((LightName)light, (LightParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -55885,10 +54824,9 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32[] @params) + void Light(LightName light, LightParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55898,7 +54836,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + Delegates.glLightiv((LightName)light, (LightParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -55920,16 +54858,15 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelf")] public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Single param) + void LightModel(LightModelParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModelf((OpenTK.Graphics.LightModelParameter)pname, (Single)param); + Delegates.glLightModelf((LightModelParameter)pname, (Single)param); #if DEBUG } #endif @@ -55949,17 +54886,16 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] public static - unsafe void LightModel(OpenTK.Graphics.LightModelParameter pname, Single* @params) + unsafe void LightModel(LightModelParameter pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params); + Delegates.glLightModelfv((LightModelParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -55979,10 +54915,9 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Single[] @params) + void LightModel(LightModelParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55992,7 +54927,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params_ptr); + Delegates.glLightModelfv((LightModelParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -56014,16 +54949,15 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeli")] public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32 param) + void LightModel(LightModelParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModeli((OpenTK.Graphics.LightModelParameter)pname, (Int32)param); + Delegates.glLightModeli((LightModelParameter)pname, (Int32)param); #if DEBUG } #endif @@ -56043,17 +54977,16 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] public static - unsafe void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32* @params) + unsafe void LightModel(LightModelParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params); + Delegates.glLightModeliv((LightModelParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -56073,10 +55006,9 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32[] @params) + void LightModel(LightModelParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56086,7 +55018,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params_ptr); + Delegates.glLightModeliv((LightModelParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -56108,7 +55040,6 @@ namespace OpenTK.Graphics /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] public static void LineStipple(Int32 factor, Int16 pattern) @@ -56137,7 +55068,6 @@ namespace OpenTK.Graphics /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] public static @@ -56162,7 +55092,6 @@ namespace OpenTK.Graphics /// Specifies the width of rasterized lines. The initial value is 1. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLineWidth")] public static void LineWidth(Single width) @@ -56186,11 +55115,9 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] public static - void LinkProgram(UInt32 program) + void LinkProgram(Int32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56211,10 +55138,10 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] public static - void LinkProgram(Int32 program) + void LinkProgram(UInt32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56235,7 +55162,6 @@ namespace OpenTK.Graphics /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] public static void ListBase(Int32 @base) @@ -56259,7 +55185,6 @@ namespace OpenTK.Graphics /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] public static @@ -56279,7 +55204,6 @@ namespace OpenTK.Graphics /// /// Replace the current matrix with the identity matrix /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadIdentity")] public static void LoadIdentity() @@ -56303,7 +55227,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static @@ -56328,7 +55251,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static void LoadMatrix(Double[] m) @@ -56358,7 +55280,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static void LoadMatrix(ref Double m) @@ -56388,7 +55309,35 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static @@ -56413,7 +55362,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static void LoadMatrix(Single[] m) @@ -56436,29 +55384,22 @@ namespace OpenTK.Graphics /// - /// Replace the current matrix with the specified matrix + /// Load a name onto the name stack /// - /// + /// /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// Specifies a name that will replace the top value on the name stack. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] public static - void LoadMatrix(ref Single m) + void LoadName(Int32 name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } + Delegates.glLoadName((UInt32)name); #if DEBUG } #endif @@ -56473,7 +55414,6 @@ namespace OpenTK.Graphics /// Specifies a name that will replace the top value on the name stack. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] public static @@ -56490,30 +55430,6 @@ namespace OpenTK.Graphics } - /// - /// Load a name onto the name stack - /// - /// - /// - /// Specifies a name that will replace the top value on the name stack. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] - public static - void LoadName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadName((UInt32)name); - #if DEBUG - } - #endif - } - - /// /// Replace the current matrix with the specified row-major ordered matrix /// @@ -56522,37 +55438,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static @@ -56577,7 +55462,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static void LoadTransposeMatrix(Double[] m) @@ -56607,10 +55491,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static - void LoadTransposeMatrix(Single[] m) + void LoadTransposeMatrix(ref Double m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56618,9 +55501,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* m_ptr = m) + fixed (Double* m_ptr = &m) { - Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + Delegates.glLoadTransposeMatrixd((Double*)m_ptr); } } #if DEBUG @@ -56637,7 +55520,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static void LoadTransposeMatrix(ref Single m) @@ -56667,7 +55549,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static @@ -56684,6 +55565,35 @@ namespace OpenTK.Graphics } + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + void LoadTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify a logical pixel operation for color index rendering /// @@ -56692,16 +55602,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLogicOp")] public static - void LogicOp(OpenTK.Graphics.LogicOp opcode) + void LogicOp(LogicOp opcode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLogicOp((OpenTK.Graphics.LogicOp)opcode); + Delegates.glLogicOp((LogicOp)opcode); #if DEBUG } #endif @@ -56736,17 +55645,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] public static - unsafe void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + unsafe void Map1(MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + Delegates.glMap1d((MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); #if DEBUG } #endif @@ -56781,10 +55689,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] public static - void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) + void Map1(MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56794,7 +55701,7 @@ namespace OpenTK.Graphics { fixed (Double* points_ptr = points) { - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + Delegates.glMap1d((MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); } } #if DEBUG @@ -56831,10 +55738,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] public static - void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + void Map1(MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56844,7 +55750,7 @@ namespace OpenTK.Graphics { fixed (Double* points_ptr = &points) { - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + Delegates.glMap1d((MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); } } #if DEBUG @@ -56881,105 +55787,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] public static - unsafe void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + void Map1(MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -56989,7 +55799,100 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + Delegates.glMap1f((MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] + public static + unsafe void Map1(MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap1f((MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] + public static + void Map1(MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMap1f((MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); } } #if DEBUG @@ -57041,10 +55944,68 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] public static - void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) + unsafe void Map2(MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap2d((MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] + public static + void Map2(MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57054,7 +56015,7 @@ namespace OpenTK.Graphics { fixed (Double* points_ptr = points) { - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + Delegates.glMap2d((MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); } } #if DEBUG @@ -57106,10 +56067,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] public static - void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + void Map2(MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57119,7 +56079,7 @@ namespace OpenTK.Graphics { fixed (Double* points_ptr = &points) { - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + Delegates.glMap2d((MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); } } #if DEBUG @@ -57171,195 +56131,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] - public static - unsafe void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] public static - unsafe void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) + void Map2(MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57369,7 +56143,130 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + Delegates.glMap2f((MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] + public static + unsafe void Map2(MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap2f((MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] + public static + void Map2(MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMap2f((MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); } } #if DEBUG @@ -57391,17 +56288,16 @@ namespace OpenTK.Graphics /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glMapBuffer")] public static - unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access) + unsafe IntPtr MapBuffer(BufferTarget target, BufferAccess access) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapBuffer((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferAccess)access); + return Delegates.glMapBuffer((BufferTarget)target, (BufferAccess)access); #if DEBUG } #endif @@ -57410,13 +56306,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glMapBufferRange")] public static - unsafe IntPtr MapBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.BufferAccessMask access) + unsafe IntPtr MapBufferRange(BufferTarget target, IntPtr offset, IntPtr length, BufferAccessMask access) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapBufferRange((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.BufferAccessMask)access); + return Delegates.glMapBufferRange((BufferTarget)target, (IntPtr)offset, (IntPtr)length, (BufferAccessMask)access); #if DEBUG } #endif @@ -57446,7 +56342,6 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1d")] public static void MapGrid1(Int32 un, Double u1, Double u2) @@ -57485,7 +56380,6 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1f")] public static void MapGrid1(Int32 un, Single u1, Single u2) @@ -57524,7 +56418,6 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2d")] public static void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) @@ -57563,7 +56456,6 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2f")] public static void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) @@ -57597,16 +56489,15 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialf")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) + void Material(MaterialFace face, MaterialParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialf((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single)param); + Delegates.glMaterialf((MaterialFace)face, (MaterialParameter)pname, (Single)param); #if DEBUG } #endif @@ -57631,10 +56522,43 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params) + unsafe void Material(MaterialFace face, MaterialParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialfv((MaterialFace)face, (MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + void Material(MaterialFace face, MaterialParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57644,7 +56568,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + Delegates.glMaterialfv((MaterialFace)face, (MaterialParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -57671,51 +56595,15 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify material parameters for the lighting model - /// - /// - /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. - /// - /// - /// - /// - /// Specifies the value that parameter GL_SHININESS will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMateriali")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param) + void Material(MaterialFace face, MaterialParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMateriali((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32)param); + Delegates.glMateriali((MaterialFace)face, (MaterialParameter)pname, (Int32)param); #if DEBUG } #endif @@ -57740,17 +56628,16 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] public static - unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params) + unsafe void Material(MaterialFace face, MaterialParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + Delegates.glMaterialiv((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -57775,10 +56662,9 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params) + void Material(MaterialFace face, MaterialParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57788,7 +56674,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + Delegates.glMaterialiv((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -57805,16 +56691,15 @@ namespace OpenTK.Graphics /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMatrixMode")] public static - void MatrixMode(OpenTK.Graphics.MatrixMode mode) + void MatrixMode(MatrixMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixMode((OpenTK.Graphics.MatrixMode)mode); + Delegates.glMatrixMode((MatrixMode)mode); #if DEBUG } #endif @@ -57839,16 +56724,15 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glMinmax")] public static - void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + void Minmax(Version12Deprecated target, PixelInternalFormat internalformat, bool sink) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMinmax((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + Delegates.glMinmax((Version12Deprecated)target, (PixelInternalFormat)internalformat, (bool)sink); #if DEBUG } #endif @@ -57892,17 +56776,16 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] public static - unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + unsafe void MultiDrawArrays(BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glMultiDrawArrays((BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); #if DEBUG } #endif @@ -57932,10 +56815,54 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) + void MultiDrawArrays(BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArrays((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + void MultiDrawArrays(BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57946,7 +56873,7 @@ namespace OpenTK.Graphics fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMultiDrawArrays((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); first = *first_ptr; count = *count_ptr; } @@ -57957,52 +56884,6 @@ namespace OpenTK.Graphics } - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - /// /// Render multiple sets of primitives by specifying indices of array data elements /// @@ -58031,11 +56912,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58045,7 +56925,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58085,11 +56965,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58099,7 +56978,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58139,11 +57018,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58153,7 +57031,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58193,11 +57071,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58207,7 +57084,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58247,17 +57124,16 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, IntPtr indices, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); #if DEBUG } #endif @@ -58292,10 +57168,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58309,7 +57184,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58351,10 +57226,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58368,7 +57242,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58410,10 +57284,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58427,7 +57300,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58469,60 +57342,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58536,7 +57358,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58578,10 +57400,58 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58595,7 +57465,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58637,10 +57507,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58654,7 +57523,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58696,10 +57565,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58713,7 +57581,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58755,60 +57623,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -58822,7 +57639,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -58835,9 +57652,38 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32[] basevertex) + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -58845,10 +57691,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* count_ptr = count) - fixed (Int32* basevertex_ptr = basevertex) + fixed (Int32* count_ptr = &count) { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElements((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); } } #if DEBUG @@ -58859,22 +57704,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32* count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32* basevertex) where T3 : struct { #if DEBUG @@ -58884,7 +57714,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); } finally { @@ -58898,7 +57728,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32* count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32* basevertex) where T3 : struct { #if DEBUG @@ -58908,7 +57738,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); } finally { @@ -58919,9 +57749,72 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32[] basevertex) + unsafe void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32* count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32* count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32* count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32[] count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -58936,7 +57829,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); } finally { @@ -58949,57 +57842,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32* basevertex) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32* basevertex) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32[] count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -59014,7 +57859,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); } finally { @@ -59029,67 +57874,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, ref Int32 basevertex) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, ref Int32 basevertex) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32[] count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -59104,7 +57889,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); } finally { @@ -59119,88 +57904,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, ref Int32 basevertex) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, ref Int32 basevertex) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, ref Int32 basevertex) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* basevertex_ptr = &basevertex) - { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] - public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32[] count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -59215,7 +57919,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); } finally { @@ -59228,6 +57932,168 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, Int32[] count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32[] basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, ref Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, ref Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(ArbDrawElementsBaseVertex mode, ref Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount, ref Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + Delegates.glMultiDrawElementsBaseVertex((ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Set the current texture coordinates @@ -59242,16 +58108,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) + void MultiTexCoord1(TextureUnit target, Double s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1d((OpenTK.Graphics.TextureUnit)target, (Double)s); + Delegates.glMultiTexCoord1d((TextureUnit)target, (Double)s); #if DEBUG } #endif @@ -59271,17 +58136,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double* v) + unsafe void MultiTexCoord1(TextureUnit target, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + Delegates.glMultiTexCoord1dv((TextureUnit)target, (Double*)v); #if DEBUG } #endif @@ -59301,16 +58165,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) + void MultiTexCoord1(TextureUnit target, Single s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1f((OpenTK.Graphics.TextureUnit)target, (Single)s); + Delegates.glMultiTexCoord1f((TextureUnit)target, (Single)s); #if DEBUG } #endif @@ -59330,17 +58193,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single* v) + unsafe void MultiTexCoord1(TextureUnit target, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + Delegates.glMultiTexCoord1fv((TextureUnit)target, (Single*)v); #if DEBUG } #endif @@ -59360,16 +58222,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) + void MultiTexCoord1(TextureUnit target, Int32 s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1i((OpenTK.Graphics.TextureUnit)target, (Int32)s); + Delegates.glMultiTexCoord1i((TextureUnit)target, (Int32)s); #if DEBUG } #endif @@ -59389,17 +58250,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord1(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord1iv((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -59419,16 +58279,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) + void MultiTexCoord1(TextureUnit target, Int16 s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1s((OpenTK.Graphics.TextureUnit)target, (Int16)s); + Delegates.glMultiTexCoord1s((TextureUnit)target, (Int16)s); #if DEBUG } #endif @@ -59448,17 +58307,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16* v) + unsafe void MultiTexCoord1(TextureUnit target, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + Delegates.glMultiTexCoord1sv((TextureUnit)target, (Int16*)v); #if DEBUG } #endif @@ -59478,16 +58336,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) + void MultiTexCoord2(TextureUnit target, Double s, Double t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); + Delegates.glMultiTexCoord2d((TextureUnit)target, (Double)s, (Double)t); #if DEBUG } #endif @@ -59507,17 +58364,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) + unsafe void MultiTexCoord2(TextureUnit target, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + Delegates.glMultiTexCoord2dv((TextureUnit)target, (Double*)v); #if DEBUG } #endif @@ -59537,45 +58393,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) + void MultiTexCoord2(TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -59585,7 +58405,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord2dv((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -59607,16 +58427,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + void MultiTexCoord2(TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord2dv((TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) + void MultiTexCoord2(TextureUnit target, Single s, Single t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); + Delegates.glMultiTexCoord2f((TextureUnit)target, (Single)s, (Single)t); #if DEBUG } #endif @@ -59636,40 +58489,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) + void MultiTexCoord2(TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -59679,7 +58501,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord2fv((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -59701,10 +58523,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) + unsafe void MultiTexCoord2(TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fv((TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + void MultiTexCoord2(TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -59714,7 +58564,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord2fv((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -59736,16 +58586,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) + void MultiTexCoord2(TextureUnit target, Int32 s, Int32 t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); + Delegates.glMultiTexCoord2i((TextureUnit)target, (Int32)s, (Int32)t); #if DEBUG } #endif @@ -59765,17 +58614,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord2(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord2iv((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -59795,45 +58643,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) + void MultiTexCoord2(TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -59843,7 +58655,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord2iv((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -59865,16 +58677,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + void MultiTexCoord2(TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord2iv((TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) + void MultiTexCoord2(TextureUnit target, Int16 s, Int16 t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); + Delegates.glMultiTexCoord2s((TextureUnit)target, (Int16)s, (Int16)t); #if DEBUG } #endif @@ -59894,17 +58739,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) + unsafe void MultiTexCoord2(TextureUnit target, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + Delegates.glMultiTexCoord2sv((TextureUnit)target, (Int16*)v); #if DEBUG } #endif @@ -59924,45 +58768,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) + void MultiTexCoord2(TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -59972,7 +58780,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = v) { - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord2sv((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -59994,16 +58802,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + void MultiTexCoord2(TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord2sv((TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) + void MultiTexCoord3(TextureUnit target, Double s, Double t, Double r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); + Delegates.glMultiTexCoord3d((TextureUnit)target, (Double)s, (Double)t, (Double)r); #if DEBUG } #endif @@ -60023,17 +58864,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) + unsafe void MultiTexCoord3(TextureUnit target, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + Delegates.glMultiTexCoord3dv((TextureUnit)target, (Double*)v); #if DEBUG } #endif @@ -60053,45 +58893,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) + void MultiTexCoord3(TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60101,7 +58905,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord3dv((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -60123,16 +58927,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + void MultiTexCoord3(TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord3dv((TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) + void MultiTexCoord3(TextureUnit target, Single s, Single t, Single r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); + Delegates.glMultiTexCoord3f((TextureUnit)target, (Single)s, (Single)t, (Single)r); #if DEBUG } #endif @@ -60152,40 +58989,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) + void MultiTexCoord3(TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60195,7 +59001,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord3fv((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -60217,10 +59023,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) + unsafe void MultiTexCoord3(TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fv((TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + void MultiTexCoord3(TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60230,7 +59064,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord3fv((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -60252,16 +59086,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) + void MultiTexCoord3(TextureUnit target, Int32 s, Int32 t, Int32 r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + Delegates.glMultiTexCoord3i((TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); #if DEBUG } #endif @@ -60281,17 +59114,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord3(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord3iv((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -60311,45 +59143,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) + void MultiTexCoord3(TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60359,7 +59155,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord3iv((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -60381,69 +59177,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) + void MultiTexCoord3(TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60451,9 +59187,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int32* v_ptr = &v) { - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord3iv((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -60475,10 +59211,66 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] + public static + void MultiTexCoord3(TextureUnit target, Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3s((TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) + unsafe void MultiTexCoord3(TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sv((TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + void MultiTexCoord3(TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60488,7 +59280,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = v) { - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord3sv((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -60510,69 +59302,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) + void MultiTexCoord3(TextureUnit target, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60580,9 +59312,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Int16* v_ptr = &v) { - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord3sv((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -60604,10 +59336,66 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] + public static + void MultiTexCoord4(TextureUnit target, Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4d((TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) + unsafe void MultiTexCoord4(TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dv((TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + void MultiTexCoord4(TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60617,7 +59405,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + Delegates.glMultiTexCoord4dv((TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -60639,16 +59427,49 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + void MultiTexCoord4(TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord4dv((TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) + void MultiTexCoord4(TextureUnit target, Single s, Single t, Single r, Single q) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + Delegates.glMultiTexCoord4f((TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); #if DEBUG } #endif @@ -60668,40 +59489,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) + void MultiTexCoord4(TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60711,7 +59501,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord4fv((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -60733,10 +59523,38 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) + unsafe void MultiTexCoord4(TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fv((TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + void MultiTexCoord4(TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60746,7 +59564,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + Delegates.glMultiTexCoord4fv((TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -60768,16 +59586,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + void MultiTexCoord4(TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + Delegates.glMultiTexCoord4i((TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); #if DEBUG } #endif @@ -60797,17 +59614,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) + unsafe void MultiTexCoord4(TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + Delegates.glMultiTexCoord4iv((TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -60827,45 +59643,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) + void MultiTexCoord4(TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60875,7 +59655,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + Delegates.glMultiTexCoord4iv((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -60897,69 +59677,9 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) + void MultiTexCoord4(TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -60967,9 +59687,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int32* v_ptr = &v) { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord4iv((TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -60991,10 +59711,66 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] + public static + void MultiTexCoord4(TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4s((TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) + unsafe void MultiTexCoord4(TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4sv((TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -61004,7 +59780,41 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = v) { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + Delegates.glMultiTexCoord4sv((TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord4sv((TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -61021,7 +59831,30 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + unsafe void MultMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] public static void MultMatrix(Double[] m) @@ -61051,32 +59884,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - unsafe void MultMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] public static void MultMatrix(ref Double m) @@ -61106,7 +59913,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] public static void MultMatrix(ref Single m) @@ -61136,7 +59942,30 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + unsafe void MultMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] public static void MultMatrix(Single[] m) @@ -61158,31 +59987,6 @@ namespace OpenTK.Graphics } - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - unsafe void MultMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixf((Single*)m); - #if DEBUG - } - #endif - } - - /// /// Multiply the current matrix with the specified row-major ordered matrix /// @@ -61191,7 +59995,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static @@ -61216,37 +60019,6 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static void MultTransposeMatrix(Double[] m) @@ -61276,7 +60048,35 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + void MultTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static void MultTransposeMatrix(ref Single m) @@ -61306,7 +60106,30 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + unsafe void MultTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static void MultTransposeMatrix(Single[] m) @@ -61329,24 +60152,27 @@ namespace OpenTK.Graphics /// - /// Multiply the current matrix with the specified row-major ordered matrix + /// Create or replace a display list /// - /// + /// /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// Specifies the display-list name. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + /// + /// + /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] public static - unsafe void MultTransposeMatrix(Single* m) + void NewList(Int32 list, ListMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultTransposeMatrixf((Single*)m); + Delegates.glNewList((UInt32)list, (ListMode)mode); #if DEBUG } #endif @@ -61366,46 +60192,16 @@ namespace OpenTK.Graphics /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] public static - void NewList(UInt32 list, OpenTK.Graphics.ListMode mode) + void NewList(UInt32 list, ListMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode); - #if DEBUG - } - #endif - } - - - /// - /// Create or replace a display list - /// - /// - /// - /// Specifies the display-list name. - /// - /// - /// - /// - /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] - public static - void NewList(Int32 list, OpenTK.Graphics.ListMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode); + Delegates.glNewList((UInt32)list, (ListMode)mode); #if DEBUG } #endif @@ -61423,7 +60219,32 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3b")] + public static + void Normal3(Byte nx, Byte ny, Byte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3b")] public static @@ -61451,16 +60272,16 @@ namespace OpenTK.Graphics /// /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3b")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] public static - void Normal3(Byte nx, Byte ny, Byte nz) + unsafe void Normal3(Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); + Delegates.glNormal3bv((SByte*)v); #if DEBUG } #endif @@ -61478,7 +60299,70 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -61512,22 +60396,16 @@ namespace OpenTK.Graphics /// /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] public static - void Normal3(Byte[] v) + unsafe void Normal3(SByte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } + Delegates.glNormal3bv((SByte*)v); #if DEBUG } #endif @@ -61545,7 +60423,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -61579,96 +60456,6 @@ namespace OpenTK.Graphics /// /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3d")] public static void Normal3(Double nx, Double ny, Double nz) @@ -61695,22 +60482,16 @@ namespace OpenTK.Graphics /// /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static - void Normal3(ref Double v) + unsafe void Normal3(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glNormal3dv((Double*)v_ptr); - } - } + Delegates.glNormal3dv((Double*)v); #if DEBUG } #endif @@ -61728,7 +60509,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static void Normal3(Double[] v) @@ -61761,17 +60541,21 @@ namespace OpenTK.Graphics /// /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static - unsafe void Normal3(Double* v) + void Normal3(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormal3dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glNormal3dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -61789,7 +60573,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3f")] public static void Normal3(Single nx, Single ny, Single nz) @@ -61816,40 +60599,6 @@ namespace OpenTK.Graphics /// /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] - public static - void Normal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glNormal3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] public static void Normal3(ref Single v) @@ -61882,7 +60631,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] public static @@ -61910,7 +60658,38 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] + public static + void Normal3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glNormal3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3i")] public static void Normal3(Int32 nx, Int32 ny, Int32 nz) @@ -61937,7 +60716,6 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] public static @@ -61965,40 +60743,6 @@ namespace OpenTK.Graphics /// /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] - public static - void Normal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glNormal3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] public static void Normal3(Int32[] v) @@ -62031,7 +60775,38 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] + public static + void Normal3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glNormal3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3s")] public static void Normal3(Int16 nx, Int16 ny, Int16 nz) @@ -62058,7 +60833,33 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] + public static + unsafe void Normal3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] public static void Normal3(Int16[] v) @@ -62091,7 +60892,6 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] public static void Normal3(ref Int16 v) @@ -62113,34 +60913,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] - public static - unsafe void Normal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// /// Define an array of normals /// @@ -62159,44 +60931,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void NormalPointer(NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -62206,7 +60943,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointer((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -62236,10 +60973,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + void NormalPointer(NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -62249,7 +60985,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointer((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -62279,10 +61015,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + void NormalPointer(NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -62292,7 +61027,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointer((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -62322,10 +61057,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) + void NormalPointer(NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -62335,7 +61069,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointer((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -62347,6 +61081,39 @@ namespace OpenTK.Graphics } + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointer((NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Multiply the current matrix with an orthographic matrix /// @@ -62365,7 +61132,6 @@ namespace OpenTK.Graphics /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glOrtho")] public static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) @@ -62389,7 +61155,6 @@ namespace OpenTK.Graphics /// Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPassThrough")] public static void PassThrough(Single token) @@ -62423,45 +61188,9 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Single values) + void PixelMap(PixelMap map, Int32 mapsize, ref Single values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62471,7 +61200,7 @@ namespace OpenTK.Graphics { fixed (Single* values_ptr = &values) { - Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); + Delegates.glPixelMapfv((PixelMap)map, (Int32)mapsize, (Single*)values_ptr); } } #if DEBUG @@ -62498,10 +61227,43 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single[] values) + unsafe void PixelMap(PixelMap map, Int32 mapsize, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapfv((PixelMap)map, (Int32)mapsize, (Single*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + void PixelMap(PixelMap map, Int32 mapsize, Single[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62511,7 +61273,7 @@ namespace OpenTK.Graphics { fixed (Single* values_ptr = values) { - Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); + Delegates.glPixelMapfv((PixelMap)map, (Int32)mapsize, (Single*)values_ptr); } } #if DEBUG @@ -62538,57 +61300,16 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values) + unsafe void PixelMap(PixelMap map, Int32 mapsize, Int32* values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); + Delegates.glPixelMapuiv((PixelMap)map, (Int32)mapsize, (UInt32*)values); #if DEBUG } #endif @@ -62613,10 +61334,9 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values) + void PixelMap(PixelMap map, Int32 mapsize, Int32[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62626,7 +61346,7 @@ namespace OpenTK.Graphics { fixed (Int32* values_ptr = values) { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + Delegates.glPixelMapuiv((PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); } } #if DEBUG @@ -62653,11 +61373,9 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32[] values) + void PixelMap(PixelMap map, Int32 mapsize, ref Int32 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62665,9 +61383,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* values_ptr = values) + fixed (Int32* values_ptr = &values) { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + Delegates.glPixelMapuiv((PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); } } #if DEBUG @@ -62694,11 +61412,10 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt32 values) + void PixelMap(PixelMap map, Int32 mapsize, ref UInt32 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62708,7 +61425,7 @@ namespace OpenTK.Graphics { fixed (UInt32* values_ptr = &values) { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + Delegates.glPixelMapuiv((PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); } } #if DEBUG @@ -62735,17 +61452,16 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32* values) + unsafe void PixelMap(PixelMap map, Int32 mapsize, UInt32* values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); + Delegates.glPixelMapuiv((PixelMap)map, (Int32)mapsize, (UInt32*)values); #if DEBUG } #endif @@ -62770,10 +61486,83 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(PixelMap map, Int32 mapsize, UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glPixelMapuiv((PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16[] values) + unsafe void PixelMap(PixelMap map, Int32 mapsize, Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(PixelMap map, Int32 mapsize, Int16[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62783,7 +61572,7 @@ namespace OpenTK.Graphics { fixed (Int16* values_ptr = values) { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + Delegates.glPixelMapusv((PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); } } #if DEBUG @@ -62810,121 +61599,9 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values) + void PixelMap(PixelMap map, Int32 mapsize, ref Int16 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62934,7 +61611,7 @@ namespace OpenTK.Graphics { fixed (Int16* values_ptr = &values) { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + Delegates.glPixelMapusv((PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); } } #if DEBUG @@ -62961,11 +61638,84 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16[] values) + void PixelMap(PixelMap map, Int32 mapsize, ref UInt16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glPixelMapusv((PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + unsafe void PixelMap(PixelMap map, Int32 mapsize, UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(PixelMap map, Int32 mapsize, UInt16[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -62975,7 +61725,7 @@ namespace OpenTK.Graphics { fixed (UInt16* values_ptr = values) { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + Delegates.glPixelMapusv((PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); } } #if DEBUG @@ -62997,16 +61747,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStoref")] public static - void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Single param) + void PixelStore(PixelStoreParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelStoref((OpenTK.Graphics.PixelStoreParameter)pname, (Single)param); + Delegates.glPixelStoref((PixelStoreParameter)pname, (Single)param); #if DEBUG } #endif @@ -63026,16 +61775,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStorei")] public static - void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Int32 param) + void PixelStore(PixelStoreParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelStorei((OpenTK.Graphics.PixelStoreParameter)pname, (Int32)param); + Delegates.glPixelStorei((PixelStoreParameter)pname, (Int32)param); #if DEBUG } #endif @@ -63058,16 +61806,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferf")] public static - void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Single param) + void PixelTransfer(PixelTransferParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransferf((OpenTK.Graphics.PixelTransferParameter)pname, (Single)param); + Delegates.glPixelTransferf((PixelTransferParameter)pname, (Single)param); #if DEBUG } #endif @@ -63090,16 +61837,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferi")] public static - void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Int32 param) + void PixelTransfer(PixelTransferParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransferi((OpenTK.Graphics.PixelTransferParameter)pname, (Int32)param); + Delegates.glPixelTransferi((PixelTransferParameter)pname, (Int32)param); #if DEBUG } #endif @@ -63114,7 +61860,6 @@ namespace OpenTK.Graphics /// Specify the and zoom factors for pixel write operations. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelZoom")] public static void PixelZoom(Single xfactor, Single yfactor) @@ -63143,16 +61888,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterf")] public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Single param) + void PointParameter(PointParameterName pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterf((OpenTK.Graphics.PointParameterName)pname, (Single)param); + Delegates.glPointParameterf((PointParameterName)pname, (Single)param); #if DEBUG } #endif @@ -63172,10 +61916,38 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Single[] @params) + unsafe void PointParameter(PointParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfv((PointParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] + public static + void PointParameter(PointParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63185,7 +61957,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params_ptr); + Delegates.glPointParameterfv((PointParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -63207,46 +61979,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteri")] public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32 param) + void PointParameter(PointParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameteri((OpenTK.Graphics.PointParameterName)pname, (Int32)param); + Delegates.glPointParameteri((PointParameterName)pname, (Int32)param); #if DEBUG } #endif @@ -63266,17 +62007,16 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] public static - unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32* @params) + unsafe void PointParameter(PointParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params); + Delegates.glPointParameteriv((PointParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -63296,10 +62036,9 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32[] @params) + void PointParameter(PointParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63309,7 +62048,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params_ptr); + Delegates.glPointParameteriv((PointParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -63326,7 +62065,6 @@ namespace OpenTK.Graphics /// Specifies the diameter of rasterized points. The initial value is 1. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPointSize")] public static void PointSize(Single size) @@ -63355,16 +62093,15 @@ namespace OpenTK.Graphics /// Specifies how polygons will be rasterized. Accepted values are GL_POINT, GL_LINE, and GL_FILL. The initial value is GL_FILL for both front- and back-facing polygons. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPolygonMode")] public static - void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode) + void PolygonMode(MaterialFace face, PolygonMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPolygonMode((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.PolygonMode)mode); + Delegates.glPolygonMode((MaterialFace)face, (PolygonMode)mode); #if DEBUG } #endif @@ -63384,7 +62121,6 @@ namespace OpenTK.Graphics /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glPolygonOffset")] public static void PolygonOffset(Single factor, Single units) @@ -63408,22 +62144,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] public static - void PolygonStipple(ref Byte mask) + unsafe void PolygonStipple(Byte* mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* mask_ptr = &mask) - { - Delegates.glPolygonStipple((Byte*)mask_ptr); - } - } + Delegates.glPolygonStipple((Byte*)mask); #if DEBUG } #endif @@ -63438,7 +62168,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] public static void PolygonStipple(Byte[] mask) @@ -63468,17 +62197,21 @@ namespace OpenTK.Graphics /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] public static - unsafe void PolygonStipple(Byte* mask) + void PolygonStipple(ref Byte mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPolygonStipple((Byte*)mask); + unsafe + { + fixed (Byte* mask_ptr = &mask) + { + Delegates.glPolygonStipple((Byte*)mask_ptr); + } + } #if DEBUG } #endif @@ -63540,10 +62273,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] public static - void PrimitiveRestartIndex(UInt32 index) + void PrimitiveRestartIndex(Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63555,9 +62287,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] public static - void PrimitiveRestartIndex(Int32 index) + void PrimitiveRestartIndex(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63588,7 +62321,120 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static @@ -63630,90 +62476,6 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static @@ -63748,45 +62510,10 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63794,8 +62521,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); } @@ -63807,13 +62534,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glProgramParameteri")] public static - void ProgramParameter(Int32 program, OpenTK.Graphics.Version32 pname, Int32 value) + void ProgramParameter(Int32 program, Version32 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.Version32)pname, (Int32)value); + Delegates.glProgramParameteri((UInt32)program, (Version32)pname, (Int32)value); #if DEBUG } #endif @@ -63822,13 +62549,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glProgramParameteri")] public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value) + void ProgramParameter(UInt32 program, Version32 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.Version32)pname, (Int32)value); + Delegates.glProgramParameteri((UInt32)program, (Version32)pname, (Int32)value); #if DEBUG } #endif @@ -63836,13 +62563,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbProvokingVertex", Version = "1.2", EntryPoint = "glProvokingVertex")] public static - void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode) + void ProvokingVertex(ArbProvokingVertex mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProvokingVertex((OpenTK.Graphics.ArbProvokingVertex)mode); + Delegates.glProvokingVertex((ArbProvokingVertex)mode); #if DEBUG } #endif @@ -63857,16 +62584,15 @@ namespace OpenTK.Graphics /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushAttrib")] public static - void PushAttrib(OpenTK.Graphics.AttribMask mask) + void PushAttrib(AttribMask mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPushAttrib((OpenTK.Graphics.AttribMask)mask); + Delegates.glPushAttrib((AttribMask)mask); #if DEBUG } #endif @@ -63881,16 +62607,15 @@ namespace OpenTK.Graphics /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPushClientAttrib")] public static - void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask) + void PushClientAttrib(ClientAttribMask mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPushClientAttrib((OpenTK.Graphics.ClientAttribMask)mask); + Delegates.glPushClientAttrib((ClientAttribMask)mask); #if DEBUG } #endif @@ -63900,7 +62625,6 @@ namespace OpenTK.Graphics /// /// Push and pop the current matrix stack /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushMatrix")] public static void PushMatrix() @@ -63924,7 +62648,6 @@ namespace OpenTK.Graphics /// Specifies a name that will be pushed onto the name stack. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] public static void PushName(Int32 name) @@ -63948,7 +62671,6 @@ namespace OpenTK.Graphics /// Specifies a name that will be pushed onto the name stack. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] public static @@ -63973,7 +62695,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2d")] public static void RasterPos2(Double x, Double y) @@ -63997,7 +62718,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static @@ -64022,37 +62742,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static - void RasterPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glRasterPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static void RasterPos2(Double[] v) @@ -64082,7 +62771,35 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] + public static + void RasterPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glRasterPos2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2f")] public static void RasterPos2(Single x, Single y) @@ -64106,37 +62823,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - void RasterPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glRasterPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] public static void RasterPos2(ref Single v) @@ -64166,7 +62852,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] public static @@ -64191,7 +62876,35 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + void RasterPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glRasterPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2i")] public static void RasterPos2(Int32 x, Int32 y) @@ -64215,37 +62928,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static - void RasterPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glRasterPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static @@ -64270,7 +62952,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static void RasterPos2(Int32[] v) @@ -64300,7 +62981,35 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] + public static + void RasterPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glRasterPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2s")] public static void RasterPos2(Int16 x, Int16 y) @@ -64324,7 +63033,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static @@ -64349,7 +63057,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static void RasterPos2(Int16[] v) @@ -64379,7 +63086,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static void RasterPos2(ref Int16 v) @@ -64409,7 +63115,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3d")] public static void RasterPos3(Double x, Double y, Double z) @@ -64433,22 +63138,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static - void RasterPos3(ref Double v) + unsafe void RasterPos3(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glRasterPos3dv((Double*)v_ptr); - } - } + Delegates.glRasterPos3dv((Double*)v); #if DEBUG } #endif @@ -64463,7 +63162,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static void RasterPos3(Double[] v) @@ -64493,17 +63191,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static - unsafe void RasterPos3(Double* v) + void RasterPos3(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos3dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glRasterPos3dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -64518,7 +63220,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3f")] public static void RasterPos3(Single x, Single y, Single z) @@ -64542,7 +63243,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static void RasterPos3(ref Single v) @@ -64572,7 +63272,30 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] + public static + unsafe void RasterPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static void RasterPos3(Single[] v) @@ -64602,32 +63325,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static - unsafe void RasterPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3i")] public static void RasterPos3(Int32 x, Int32 y, Int32 z) @@ -64651,22 +63348,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static - void RasterPos3(ref Int32 v) + unsafe void RasterPos3(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glRasterPos3iv((Int32*)v_ptr); - } - } + Delegates.glRasterPos3iv((Int32*)v); #if DEBUG } #endif @@ -64681,7 +63372,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static void RasterPos3(Int32[] v) @@ -64711,17 +63401,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static - unsafe void RasterPos3(Int32* v) + void RasterPos3(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos3iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glRasterPos3iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -64736,7 +63430,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3s")] public static void RasterPos3(Int16 x, Int16 y, Int16 z) @@ -64760,22 +63453,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static - void RasterPos3(ref Int16 v) + unsafe void RasterPos3(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glRasterPos3sv((Int16*)v_ptr); - } - } + Delegates.glRasterPos3sv((Int16*)v); #if DEBUG } #endif @@ -64790,7 +63477,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static void RasterPos3(Int16[] v) @@ -64820,17 +63506,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static - unsafe void RasterPos3(Int16* v) + void RasterPos3(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos3sv((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glRasterPos3sv((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -64845,7 +63535,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4d")] public static void RasterPos4(Double x, Double y, Double z, Double w) @@ -64869,22 +63558,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static - void RasterPos4(ref Double v) + unsafe void RasterPos4(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glRasterPos4dv((Double*)v_ptr); - } - } + Delegates.glRasterPos4dv((Double*)v); #if DEBUG } #endif @@ -64899,7 +63582,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static void RasterPos4(Double[] v) @@ -64929,17 +63611,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static - unsafe void RasterPos4(Double* v) + void RasterPos4(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos4dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glRasterPos4dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -64954,7 +63640,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4f")] public static void RasterPos4(Single x, Single y, Single z, Single w) @@ -64978,32 +63663,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static - unsafe void RasterPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static void RasterPos4(ref Single v) @@ -65033,7 +63692,30 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] + public static + unsafe void RasterPos4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static void RasterPos4(Single[] v) @@ -65063,7 +63745,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4i")] public static void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -65087,7 +63768,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static @@ -65112,37 +63792,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static - void RasterPos4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glRasterPos4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static void RasterPos4(Int32[] v) @@ -65172,7 +63821,35 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] + public static + void RasterPos4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glRasterPos4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4s")] public static void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -65196,7 +63873,30 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] + public static + unsafe void RasterPos4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static void RasterPos4(Int16[] v) @@ -65226,7 +63926,6 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static void RasterPos4(ref Int16 v) @@ -65248,31 +63947,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static - unsafe void RasterPos4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// /// Select a color buffer source for pixels /// @@ -65281,16 +63955,15 @@ namespace OpenTK.Graphics /// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadBuffer")] public static - void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode) + void ReadBuffer(ReadBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReadBuffer((OpenTK.Graphics.ReadBufferMode)mode); + Delegates.glReadBuffer((ReadBufferMode)mode); #if DEBUG } #endif @@ -65325,10 +63998,9 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T6 pixels) where T6 : struct { #if DEBUG @@ -65338,7 +64010,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -65378,10 +64050,9 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,,] pixels) where T6 : struct { #if DEBUG @@ -65391,7 +64062,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -65431,10 +64102,9 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,] pixels) where T6 : struct { #if DEBUG @@ -65444,7 +64114,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -65484,16 +64154,24 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[] pixels) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -65528,25 +64206,15 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, PixelFormat format, PixelType type, [Out] IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -65566,7 +64234,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectd")] public static void Rect(Double x1, Double y1, Double x2, Double y2) @@ -65595,23 +64262,16 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static - void Rect(ref Double v1, ref Double v2) + unsafe void Rect(Double* v1, Double* v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v1_ptr = &v1) - fixed (Double* v2_ptr = &v2) - { - Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); - } - } + Delegates.glRectdv((Double*)v1, (Double*)v2); #if DEBUG } #endif @@ -65631,7 +64291,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static void Rect(Double[] v1, Double[] v2) @@ -65667,17 +64326,22 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static - unsafe void Rect(Double* v1, Double* v2) + void Rect(ref Double v1, ref Double v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRectdv((Double*)v1, (Double*)v2); + unsafe + { + fixed (Double* v1_ptr = &v1) + fixed (Double* v2_ptr = &v2) + { + Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); + } + } #if DEBUG } #endif @@ -65697,7 +64361,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectf")] public static void Rect(Single x1, Single y1, Single x2, Single y2) @@ -65726,43 +64389,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] - public static - void Rect(Single[] v1, Single[] v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v1_ptr = v1) - fixed (Single* v2_ptr = v2) - { - Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Draw a rectangle - /// - /// - /// - /// Specify one vertex of a rectangle. - /// - /// - /// - /// - /// Specify the opposite vertex of the rectangle. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] public static void Rect(ref Single v1, ref Single v2) @@ -65798,7 +64424,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] public static @@ -65828,7 +64453,41 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] + public static + void Rect(Single[] v1, Single[] v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v1_ptr = v1) + fixed (Single* v2_ptr = v2) + { + Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRecti")] public static void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) @@ -65857,7 +64516,35 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] + public static + unsafe void Rect(Int32* v1, Int32* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectiv((Int32*)v1, (Int32*)v2); + #if DEBUG + } + #endif + } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] public static void Rect(Int32[] v1, Int32[] v2) @@ -65893,7 +64580,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] public static void Rect(ref Int32 v1, ref Int32 v2) @@ -65915,36 +64601,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Draw a rectangle - /// - /// - /// - /// Specify one vertex of a rectangle. - /// - /// - /// - /// - /// Specify the opposite vertex of the rectangle. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] - public static - unsafe void Rect(Int32* v1, Int32* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectiv((Int32*)v1, (Int32*)v2); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRects")] public static void Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) @@ -65973,7 +64629,6 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static @@ -66003,10 +64658,9 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static - void Rect(ref Int16 v1, ref Int16 v2) + void Rect(Int16[] v1, Int16[] v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -66014,8 +64668,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v1_ptr = &v1) - fixed (Int16* v2_ptr = &v2) + fixed (Int16* v1_ptr = v1) + fixed (Int16* v2_ptr = v2) { Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); } @@ -66039,10 +64693,9 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static - void Rect(Int16[] v1, Int16[] v2) + void Rect(ref Int16 v1, ref Int16 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -66050,8 +64703,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v1_ptr = v1) - fixed (Int16* v2_ptr = v2) + fixed (Int16* v1_ptr = &v1) + fixed (Int16* v2_ptr = &v2) { Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); } @@ -66063,13 +64716,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glRenderbufferStorage")] public static - void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) + void RenderbufferStorage(RenderbufferTarget target, RenderbufferStorage internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + Delegates.glRenderbufferStorage((RenderbufferTarget)target, (RenderbufferStorage)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -66077,13 +64730,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] public static - void RenderbufferStorageMultisample(OpenTK.Graphics.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) + void RenderbufferStorageMultisample(RenderbufferTarget target, Int32 samples, RenderbufferStorage internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + Delegates.glRenderbufferStorageMultisample((RenderbufferTarget)target, (Int32)samples, (RenderbufferStorage)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -66098,16 +64751,15 @@ namespace OpenTK.Graphics /// Specifies the rasterization mode. Three values are accepted: GL_RENDER, GL_SELECT, and GL_FEEDBACK. The initial value is GL_RENDER. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRenderMode")] public static - Int32 RenderMode(OpenTK.Graphics.RenderingMode mode) + Int32 RenderMode(RenderingMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glRenderMode((OpenTK.Graphics.RenderingMode)mode); + return Delegates.glRenderMode((RenderingMode)mode); #if DEBUG } #endif @@ -66122,16 +64774,15 @@ namespace OpenTK.Graphics /// Must be GL_HISTOGRAM. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetHistogram")] public static - void ResetHistogram(OpenTK.Graphics.Version12Deprecated target) + void ResetHistogram(Version12Deprecated target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResetHistogram((OpenTK.Graphics.Version12Deprecated)target); + Delegates.glResetHistogram((Version12Deprecated)target); #if DEBUG } #endif @@ -66146,16 +64797,15 @@ namespace OpenTK.Graphics /// Must be GL_MINMAX. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetMinmax")] public static - void ResetMinmax(OpenTK.Graphics.Version12Deprecated target) + void ResetMinmax(Version12Deprecated target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResetMinmax((OpenTK.Graphics.Version12Deprecated)target); + Delegates.glResetMinmax((Version12Deprecated)target); #if DEBUG } #endif @@ -66175,7 +64825,6 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a vector, respectively. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotated")] public static void Rotate(Double angle, Double x, Double y, Double z) @@ -66204,7 +64853,6 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a vector, respectively. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotatef")] public static void Rotate(Single angle, Single x, Single y, Single z) @@ -66233,7 +64881,6 @@ namespace OpenTK.Graphics /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glSampleCoverage")] public static void SampleCoverage(Single value, bool invert) @@ -66286,7 +64933,6 @@ namespace OpenTK.Graphics /// Specify scale factors along the x, y, and z axes, respectively. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScaled")] public static void Scale(Double x, Double y, Double z) @@ -66310,7 +64956,6 @@ namespace OpenTK.Graphics /// Specify scale factors along the x, y, and z axes, respectively. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScalef")] public static void Scale(Single x, Single y, Single z) @@ -66339,7 +64984,6 @@ namespace OpenTK.Graphics /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glScissor")] public static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) @@ -66363,7 +65007,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3b")] public static @@ -66388,63 +65031,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] public static @@ -66475,7 +65061,60 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + void SecondaryColor3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glSecondaryColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3d")] public static void SecondaryColor3(Double red, Double green, Double blue) @@ -66499,22 +65138,16 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static - void SecondaryColor3(ref Double v) + unsafe void SecondaryColor3(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glSecondaryColor3dv((Double*)v_ptr); - } - } + Delegates.glSecondaryColor3dv((Double*)v); #if DEBUG } #endif @@ -66529,7 +65162,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static void SecondaryColor3(Double[] v) @@ -66559,17 +65191,21 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static - unsafe void SecondaryColor3(Double* v) + void SecondaryColor3(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glSecondaryColor3dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -66584,7 +65220,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3f")] public static void SecondaryColor3(Single red, Single green, Single blue) @@ -66608,32 +65243,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static void SecondaryColor3(ref Single v) @@ -66663,7 +65272,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + unsafe void SecondaryColor3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static void SecondaryColor3(Single[] v) @@ -66693,7 +65325,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3i")] public static void SecondaryColor3(Int32 red, Int32 green, Int32 blue) @@ -66717,7 +65348,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static @@ -66742,37 +65372,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static void SecondaryColor3(Int32[] v) @@ -66802,7 +65401,35 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + void SecondaryColor3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3s")] public static void SecondaryColor3(Int16 red, Int16 green, Int16 blue) @@ -66826,7 +65453,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + unsafe void SecondaryColor3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static void SecondaryColor3(Int16[] v) @@ -66856,32 +65506,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static void SecondaryColor3(ref Int16 v) @@ -66911,7 +65535,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] public static void SecondaryColor3(Byte red, Byte green, Byte blue) @@ -66935,7 +65558,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static @@ -66960,37 +65582,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static void SecondaryColor3(Byte[] v) @@ -67020,7 +65611,35 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + void SecondaryColor3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] public static @@ -67045,32 +65664,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -67101,7 +65694,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + unsafe void SecondaryColor3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -67132,7 +65748,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3us")] public static @@ -67157,11 +65772,10 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static - void SecondaryColor3(UInt16[] v) + void SecondaryColor3(ref UInt16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -67169,7 +65783,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* v_ptr = v) + fixed (UInt16* v_ptr = &v) { Delegates.glSecondaryColor3usv((UInt16*)v_ptr); } @@ -67188,7 +65802,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static @@ -67213,11 +65826,10 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static - void SecondaryColor3(ref UInt16 v) + void SecondaryColor3(UInt16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -67225,7 +65837,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* v_ptr = &v) + fixed (UInt16* v_ptr = v) { Delegates.glSecondaryColor3usv((UInt16*)v_ptr); } @@ -67259,10 +65871,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -67272,7 +65883,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -67307,49 +65918,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -67359,7 +65930,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -67394,10 +65965,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -67407,7 +65977,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -67442,10 +66012,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -67455,7 +66024,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -67467,6 +66036,44 @@ namespace OpenTK.Graphics } + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointer((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Establish a buffer for selection mode values /// @@ -67480,7 +66087,6 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static @@ -67510,73 +66116,6 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [Out] UInt32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static void SelectBuffer(Int32 size, [Out] Int32[] buffer) @@ -67611,7 +66150,41 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] out Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = &buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static @@ -67648,10 +66221,39 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static - void SelectBuffer(Int32 size, [Out] out Int32 buffer) + unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] UInt32[] buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -67659,10 +66261,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* buffer_ptr = &buffer) + fixed (UInt32* buffer_ptr = buffer) { Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; } } #if DEBUG @@ -67714,341 +66315,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -68060,7 +66329,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -68116,10 +66385,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -68131,7 +66399,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -68187,10 +66455,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -68202,7 +66469,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -68258,10 +66525,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -68273,7 +66539,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -68286,6 +66552,332 @@ namespace OpenTK.Graphics } + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] T7[] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(Version12Deprecated target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2D((Version12Deprecated)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + /// /// Select flat or smooth shading /// @@ -68294,16 +66886,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glShadeModel")] public static - void ShadeModel(OpenTK.Graphics.ShadingModel mode) + void ShadeModel(ShadingModel mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShadeModel((OpenTK.Graphics.ShadingModel)mode); + Delegates.glShadeModel((ShadingModel)mode); #if DEBUG } #endif @@ -68333,7 +66924,6 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static @@ -68373,53 +66963,6 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) @@ -68464,7 +67007,6 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static @@ -68482,33 +67024,44 @@ namespace OpenTK.Graphics /// - /// Set front and back function and reference value for stencil testing + /// Replaces the source code in a shader object /// - /// + /// /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// Specifies the handle of the shader object whose source code is to be replaced. /// /// - /// + /// /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// Specifies the number of elements in the string and length arrays. /// /// - /// + /// /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. /// /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) + void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } #if DEBUG } #endif @@ -68533,17 +67086,49 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] public static - void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) + void StencilFunc(StencilFunction func, Int32 @ref, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + Delegates.glStencilFunc((StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((StencilFunction)func, (Int32)@ref, (UInt32)mask); #if DEBUG } #endif @@ -68573,17 +67158,15 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) + void StencilFuncSeparate(StencilFace face, StencilFunction func, Int32 @ref, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + Delegates.glStencilFuncSeparate((StencilFace)face, (StencilFunction)func, (Int32)@ref, (UInt32)mask); #if DEBUG } #endif @@ -68613,16 +67196,16 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) + void StencilFuncSeparate(StencilFace face, StencilFunction func, Int32 @ref, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + Delegates.glStencilFuncSeparate((StencilFace)face, (StencilFunction)func, (Int32)@ref, (UInt32)mask); #if DEBUG } #endif @@ -68637,7 +67220,29 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + /// + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] public static @@ -68654,30 +67259,6 @@ namespace OpenTK.Graphics } - /// - /// Control the front and back writing of individual bits in the stencil planes - /// - /// - /// - /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] - public static - void StencilMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMask((UInt32)mask); - #if DEBUG - } - #endif - } - - /// /// Control the front and/or back writing of individual bits in the stencil planes /// @@ -68691,16 +67272,15 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] public static - void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, Int32 mask) + void StencilMaskSeparate(StencilFace face, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.StencilFace)face, (UInt32)mask); + Delegates.glStencilMaskSeparate((StencilFace)face, (UInt32)mask); #if DEBUG } #endif @@ -68720,17 +67300,16 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] public static - void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask) + void StencilMaskSeparate(StencilFace face, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.StencilFace)face, (UInt32)mask); + Delegates.glStencilMaskSeparate((StencilFace)face, (UInt32)mask); #if DEBUG } #endif @@ -68755,16 +67334,15 @@ namespace OpenTK.Graphics /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilOp")] public static - void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass) + void StencilOp(StencilOp fail, StencilOp zfail, StencilOp zpass) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilOp((OpenTK.Graphics.StencilOp)fail, (OpenTK.Graphics.StencilOp)zfail, (OpenTK.Graphics.StencilOp)zpass); + Delegates.glStencilOp((StencilOp)fail, (StencilOp)zfail, (StencilOp)zpass); #if DEBUG } #endif @@ -68794,16 +67372,15 @@ namespace OpenTK.Graphics /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilOpSeparate")] public static - void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) + void StencilOpSeparate(StencilFace face, StencilOp sfail, StencilOp dpfail, StencilOp dppass) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); + Delegates.glStencilOpSeparate((StencilFace)face, (StencilOp)sfail, (StencilOp)dpfail, (StencilOp)dppass); #if DEBUG } #endif @@ -68811,13 +67388,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] public static - void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, Int32 buffer) + void TexBuffer(TextureBufferTarget target, SizedInternalFormat internalformat, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer); + Delegates.glTexBuffer((TextureBufferTarget)target, (SizedInternalFormat)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -68826,13 +67403,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] public static - void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer) + void TexBuffer(TextureBufferTarget target, SizedInternalFormat internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer); + Delegates.glTexBuffer((TextureBufferTarget)target, (SizedInternalFormat)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -68847,7 +67424,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1d")] public static void TexCoord1(Double s) @@ -68871,7 +67447,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1dv")] public static @@ -68896,7 +67471,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1f")] public static void TexCoord1(Single s) @@ -68920,7 +67494,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1fv")] public static @@ -68945,7 +67518,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1i")] public static void TexCoord1(Int32 s) @@ -68969,7 +67541,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1iv")] public static @@ -68994,7 +67565,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1s")] public static void TexCoord1(Int16 s) @@ -69018,7 +67588,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1sv")] public static @@ -69043,7 +67612,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2d")] public static void TexCoord2(Double s, Double t) @@ -69067,7 +67635,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static @@ -69092,37 +67659,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static - void TexCoord2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTexCoord2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static void TexCoord2(Double[] v) @@ -69152,7 +67688,35 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] + public static + void TexCoord2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTexCoord2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2f")] public static void TexCoord2(Single s, Single t) @@ -69176,32 +67740,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] - public static - unsafe void TexCoord2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static void TexCoord2(ref Single v) @@ -69231,7 +67769,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] + public static + unsafe void TexCoord2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static void TexCoord2(Single[] v) @@ -69261,7 +67822,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2i")] public static void TexCoord2(Int32 s, Int32 t) @@ -69285,7 +67845,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static @@ -69310,37 +67869,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static - void TexCoord2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTexCoord2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static void TexCoord2(Int32[] v) @@ -69370,7 +67898,35 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] + public static + void TexCoord2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTexCoord2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2s")] public static void TexCoord2(Int16 s, Int16 t) @@ -69394,7 +67950,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] + public static + unsafe void TexCoord2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static void TexCoord2(Int16[] v) @@ -69424,7 +68003,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static void TexCoord2(ref Int16 v) @@ -69454,32 +68032,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - unsafe void TexCoord2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3d")] public static void TexCoord3(Double s, Double t, Double r) @@ -69503,7 +68055,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + unsafe void TexCoord3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] public static void TexCoord3(Double[] v) @@ -69533,32 +68108,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static - unsafe void TexCoord3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] public static void TexCoord3(ref Double v) @@ -69588,7 +68137,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3f")] public static void TexCoord3(Single s, Single t, Single r) @@ -69612,37 +68160,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static - void TexCoord3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static void TexCoord3(ref Single v) @@ -69672,7 +68189,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static @@ -69697,7 +68213,35 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] + public static + void TexCoord3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3i")] public static void TexCoord3(Int32 s, Int32 t, Int32 r) @@ -69721,7 +68265,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] + public static + unsafe void TexCoord3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3iv((Int32*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static void TexCoord3(Int32[] v) @@ -69751,7 +68318,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static void TexCoord3(ref Int32 v) @@ -69781,32 +68347,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static - unsafe void TexCoord3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3s")] public static void TexCoord3(Int16 s, Int16 t, Int16 r) @@ -69830,7 +68370,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static @@ -69855,37 +68394,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] - public static - void TexCoord3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTexCoord3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static void TexCoord3(Int16[] v) @@ -69915,7 +68423,35 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] + public static + void TexCoord3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTexCoord3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4d")] public static void TexCoord4(Double s, Double t, Double r, Double q) @@ -69939,7 +68475,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] + public static + unsafe void TexCoord4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static void TexCoord4(Double[] v) @@ -69969,32 +68528,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static - unsafe void TexCoord4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static void TexCoord4(ref Double v) @@ -70024,7 +68557,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4f")] public static void TexCoord4(Single s, Single t, Single r, Single q) @@ -70048,7 +68580,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static void TexCoord4(ref Single v) @@ -70078,7 +68609,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] + public static + unsafe void TexCoord4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static void TexCoord4(Single[] v) @@ -70108,32 +68662,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static - unsafe void TexCoord4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4i")] public static void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) @@ -70157,7 +68685,30 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] + public static + unsafe void TexCoord4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4iv((Int32*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static void TexCoord4(Int32[] v) @@ -70187,7 +68738,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static void TexCoord4(ref Int32 v) @@ -70217,32 +68767,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static - unsafe void TexCoord4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4s")] public static void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) @@ -70266,7 +68790,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static @@ -70291,37 +68814,6 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static - void TexCoord4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTexCoord4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static void TexCoord4(Int16[] v) @@ -70343,6 +68835,35 @@ namespace OpenTK.Graphics } + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] + public static + void TexCoord4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTexCoord4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Define an array of texture coordinates /// @@ -70366,10 +68887,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -70379,7 +68899,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointer((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -70414,10 +68934,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -70427,7 +68946,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointer((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -70462,49 +68981,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -70514,7 +68993,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointer((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -70549,10 +69028,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -70562,7 +69040,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointer((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -70574,6 +69052,44 @@ namespace OpenTK.Graphics } + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointer((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Set texture environment parameters /// @@ -70592,16 +69108,15 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvf")] public static - void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) + void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexEnvf((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single)param); + Delegates.glTexEnvf((TextureEnvTarget)target, (TextureEnvParameter)pname, (Single)param); #if DEBUG } #endif @@ -70626,10 +69141,43 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvfv")] public static - void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single[] @params) + unsafe void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnvfv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvfv")] + public static + void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70639,7 +69187,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + Delegates.glTexEnvfv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -70666,51 +69214,15 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvfv")] - public static - unsafe void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvi")] public static - void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param) + void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexEnvi((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32)param); + Delegates.glTexEnvi((TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32)param); #if DEBUG } #endif @@ -70735,10 +69247,43 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnviv")] public static - void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32[] @params) + unsafe void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexEnviv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnviv")] + public static + void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70748,7 +69293,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + Delegates.glTexEnviv((TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -70756,50 +69301,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Set texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnviv")] - public static - unsafe void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGend")] public static - void TexGend(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param) + void TexGend(TextureCoordName coord, TextureGenParameter pname, Double param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexGend((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double)param); + Delegates.glTexGend((TextureCoordName)coord, (TextureGenParameter)pname, (Double)param); #if DEBUG } #endif @@ -70824,10 +69334,43 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params) + unsafe void TexGen(TextureCoordName coord, TextureGenParameter pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGendv((TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] + public static + void TexGen(TextureCoordName coord, TextureGenParameter pname, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70837,7 +69380,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glTexGendv((TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -70864,10 +69407,9 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) + void TexGen(TextureCoordName coord, TextureGenParameter pname, ref Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70877,7 +69419,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glTexGendv((TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -70904,51 +69446,15 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] - public static - unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Control the generation of texture coordinates - /// - /// - /// - /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. - /// - /// - /// - /// - /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenf")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) + void TexGen(TextureCoordName coord, TextureGenParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexGenf((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single)param); + Delegates.glTexGenf((TextureCoordName)coord, (TextureGenParameter)pname, (Single)param); #if DEBUG } #endif @@ -70973,10 +69479,43 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenfv")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single[] @params) + unsafe void TexGen(TextureCoordName coord, TextureGenParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGenfv((TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenfv")] + public static + void TexGen(TextureCoordName coord, TextureGenParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70986,7 +69525,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + Delegates.glTexGenfv((TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -71013,51 +69552,15 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenfv")] - public static - unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Control the generation of texture coordinates - /// - /// - /// - /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. - /// - /// - /// - /// - /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeni")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param) + void TexGen(TextureCoordName coord, TextureGenParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexGeni((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32)param); + Delegates.glTexGeni((TextureCoordName)coord, (TextureGenParameter)pname, (Int32)param); #if DEBUG } #endif @@ -71082,17 +69585,16 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeniv")] public static - unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params) + unsafe void TexGen(TextureCoordName coord, TextureGenParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + Delegates.glTexGeniv((TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -71117,10 +69619,9 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeniv")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) + void TexGen(TextureCoordName coord, TextureGenParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -71130,7 +69631,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + Delegates.glTexGeniv((TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -71182,10 +69683,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + void TexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T7 pixels) where T7 : struct { #if DEBUG @@ -71195,7 +69695,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71250,10 +69750,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + void TexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T7[,,] pixels) where T7 : struct { #if DEBUG @@ -71263,7 +69762,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71318,10 +69817,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + void TexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T7[,] pixels) where T7 : struct { #if DEBUG @@ -71331,7 +69829,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71386,10 +69884,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + void TexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T7[] pixels) where T7 : struct { #if DEBUG @@ -71399,7 +69896,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71454,16 +69951,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glTexImage1D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -71518,10 +70014,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void TexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -71531,7 +70026,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71591,10 +70086,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void TexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,,] pixels) where T8 : struct { #if DEBUG @@ -71604,7 +70098,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71664,10 +70158,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + void TexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -71677,7 +70170,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71737,16 +70230,24 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[] pixels) + where T8 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -71801,25 +70302,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct + void TexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glTexImage2D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -71827,13 +70318,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glTexImage2DMultisample")] public static - void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + void TexImage2DMultisample(ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage2DMultisample((OpenTK.Graphics.ArbTextureMultisample)target, (Int32)samples, (Int32)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + Delegates.glTexImage2DMultisample((ArbTextureMultisample)target, (Int32)samples, (Int32)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); #if DEBUG } #endif @@ -71893,10 +70384,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -71906,7 +70396,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -71971,79 +70461,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -72053,7 +70473,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72118,10 +70538,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -72131,7 +70550,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72196,10 +70615,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -72209,7 +70627,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72220,15 +70638,83 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3D((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glTexImage3DMultisample")] public static - void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + void TexImage3DMultisample(ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage3DMultisample((OpenTK.Graphics.ArbTextureMultisample)target, (Int32)samples, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + Delegates.glTexImage3DMultisample((ArbTextureMultisample)target, (Int32)samples, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); #if DEBUG } #endif @@ -72253,16 +70739,15 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterf")] public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + void TexParameter(TextureTarget target, TextureParameterName pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterf((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + Delegates.glTexParameterf((TextureTarget)target, (TextureParameterName)pname, (Single)param); #if DEBUG } #endif @@ -72287,17 +70772,16 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] public static - unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + unsafe void TexParameter(TextureTarget target, TextureParameterName pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + Delegates.glTexParameterfv((TextureTarget)target, (TextureParameterName)pname, (Single*)@params); #if DEBUG } #endif @@ -72322,10 +70806,9 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + void TexParameter(TextureTarget target, TextureParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72335,7 +70818,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + Delegates.glTexParameterfv((TextureTarget)target, (TextureParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -72362,16 +70845,30 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteri")] public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + void TexParameter(TextureTarget target, TextureParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameteri((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + Delegates.glTexParameteri((TextureTarget)target, (TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + unsafe void TexParameterI(TextureTarget target, TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIiv((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -72379,7 +70876,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + void TexParameterI(TextureTarget target, TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameterIiv((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + void TexParameterI(TextureTarget target, TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72389,7 +70906,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTexParameterIiv((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -72397,45 +70914,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + void TexParameterI(TextureTarget target, TextureParameterName pname, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72445,7 +70927,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glTexParameterIuiv((TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -72456,7 +70938,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + unsafe void TexParameterI(TextureTarget target, TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIuiv((TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + void TexParameterI(TextureTarget target, TextureParameterName pname, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72466,7 +70963,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glTexParameterIuiv((TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -72474,16 +70971,35 @@ namespace OpenTK.Graphics #endif } + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + unsafe void TexParameter(TextureTarget target, TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + Delegates.glTexParameteriv((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -72508,45 +71024,9 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] public static - unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set texture parameters - /// - /// - /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. - /// - /// - /// - /// - /// Specifies the value of pname. - /// - /// - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + void TexParameter(TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72556,7 +71036,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTexParameteriv((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -72603,10 +71083,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T6 pixels) where T6 : struct { #if DEBUG @@ -72616,7 +71095,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72666,64 +71145,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T6[,,] pixels) where T6 : struct { #if DEBUG @@ -72733,7 +71157,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72783,10 +71207,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T6[,] pixels) where T6 : struct { #if DEBUG @@ -72796,7 +71219,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72846,10 +71269,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T6[] pixels) where T6 : struct { #if DEBUG @@ -72859,7 +71281,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72871,6 +71293,59 @@ namespace OpenTK.Graphics } + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage1D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// /// Specify a two-dimensional texture subimage /// @@ -72919,10 +71394,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -72932,7 +71406,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -72992,10 +71466,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T8[,,] pixels) where T8 : struct { #if DEBUG @@ -73005,7 +71478,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73065,10 +71538,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -73078,7 +71550,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73138,74 +71610,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T8[] pixels) where T8 : struct { #if DEBUG @@ -73215,7 +71622,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73228,11 +71635,11 @@ namespace OpenTK.Graphics /// - /// Specify a three-dimensional texture subimage + /// Specify a two-dimensional texture subimage /// /// /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. /// /// /// @@ -73250,11 +71657,6 @@ namespace OpenTK.Graphics /// Specifies a texel offset in the y direction within the texture array. /// /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// /// /// /// Specifies the width of the texture subimage. @@ -73265,11 +71667,6 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// /// /// /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. @@ -73285,16 +71682,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glTexSubImage2D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -73359,10 +71755,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] ref T10 pixels) where T10 : struct { #if DEBUG @@ -73372,7 +71767,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73442,10 +71837,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T10[,,] pixels) where T10 : struct { #if DEBUG @@ -73455,7 +71849,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73525,10 +71919,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T10[,] pixels) where T10 : struct { #if DEBUG @@ -73538,7 +71931,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73608,10 +72001,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T10[] pixels) where T10 : struct { #if DEBUG @@ -73621,7 +72013,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -73632,30 +72024,103 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3D((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, TransformFeedbackMode bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, TransformFeedbackMode bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.TransformFeedbackMode)bufferMode); + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (TransformFeedbackMode)bufferMode); #if DEBUG } #endif @@ -73670,7 +72135,6 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a translation vector. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslated")] public static void Translate(Double x, Double y, Double z) @@ -73694,7 +72158,6 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a translation vector. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslatef")] public static void Translate(Single x, Single y, Single z) @@ -73723,7 +72186,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1f")] public static void Uniform1(Int32 location, Single v0) @@ -73752,72 +72214,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static void Uniform1(Int32 location, Int32 count, ref Single value) @@ -73852,7 +72248,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1i")] public static void Uniform1(Int32 location, Int32 v0) @@ -73881,7 +72339,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -73916,37 +72402,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] public static void Uniform1(Int32 location, Int32 count, ref Int32 value) @@ -73981,7 +72436,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1ui")] public static @@ -74011,7 +72465,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -74047,7 +72500,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -74077,7 +72529,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -74113,7 +72564,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2f")] public static void Uniform2(Int32 location, Single v0, Single v1) @@ -74142,37 +72592,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] public static void Uniform2(Int32 location, Int32 count, ref Single value) @@ -74207,7 +72626,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] public static void Uniform2(Int32 location, Int32 count, Single[] value) @@ -74242,7 +72689,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2i")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -74271,7 +72717,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] public static void Uniform2(Int32 location, Int32 count, Int32[] value) @@ -74306,37 +72780,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2ui")] public static @@ -74366,43 +72809,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] public static @@ -74438,7 +72844,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] public static @@ -74468,7 +72873,41 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3f")] public static void Uniform3(Int32 location, Single v0, Single v1, Single v2) @@ -74497,7 +72936,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static void Uniform3(Int32 location, Int32 count, ref Single value) @@ -74532,7 +72970,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static @@ -74562,7 +72999,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static void Uniform3(Int32 location, Int32 count, Single[] value) @@ -74597,7 +73033,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3i")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -74626,7 +73061,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static void Uniform3(Int32 location, Int32 count, Int32[] value) @@ -74661,7 +73124,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -74696,37 +73158,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3ui")] public static @@ -74756,37 +73187,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static @@ -74822,7 +73222,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static @@ -74858,7 +73286,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4f")] public static void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) @@ -74887,37 +73314,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static void Uniform4(Int32 location, Int32 count, ref Single value) @@ -74952,7 +73348,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static void Uniform4(Int32 location, Int32 count, Single[] value) @@ -74987,7 +73411,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4i")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -75016,7 +73439,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static @@ -75046,42 +73468,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static void Uniform4(Int32 location, Int32 count, Int32[] value) @@ -75116,7 +73502,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4ui")] public static @@ -75146,37 +73565,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -75212,7 +73600,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -75234,21 +73650,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] public static void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) @@ -75264,15 +73665,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); #if DEBUG } #endif @@ -75298,6 +73699,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] public static void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) @@ -75318,6 +73734,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] public static @@ -75353,46 +73789,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] public static void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) @@ -75428,16 +73824,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -75463,6 +73864,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] public static void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) @@ -75483,21 +73899,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] public static void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) @@ -75518,6 +73919,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] public static void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) @@ -75538,6 +73954,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] public static @@ -75573,26 +74009,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] public static void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) @@ -75648,21 +74064,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] public static void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) @@ -75683,6 +74084,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] public static void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) @@ -75703,26 +74119,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] public static void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) @@ -75758,15 +74154,35 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glUnmapBuffer")] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] public static - bool UnmapBuffer(OpenTK.Graphics.BufferTarget target) + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glUnmapBuffer((OpenTK.Graphics.BufferTarget)target); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glUnmapBuffer")] + public static + bool UnmapBuffer(BufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBuffer((BufferTarget)target); #if DEBUG } #endif @@ -75781,7 +74197,6 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] public static void UseProgram(Int32 program) @@ -75805,7 +74220,6 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] public static @@ -75830,11 +74244,9 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glValidateProgram")] public static - void ValidateProgram(UInt32 program) + void ValidateProgram(Int32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75855,10 +74267,10 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glValidateProgram")] public static - void ValidateProgram(Int32 program) + void ValidateProgram(UInt32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75879,7 +74291,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2d")] public static void Vertex2(Double x, Double y) @@ -75903,7 +74314,30 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + unsafe void Vertex2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] public static void Vertex2(Double[] v) @@ -75933,7 +74367,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] public static void Vertex2(ref Double v) @@ -75963,32 +74396,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - unsafe void Vertex2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2f")] public static void Vertex2(Single x, Single y) @@ -76012,32 +74419,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - unsafe void Vertex2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] public static void Vertex2(ref Single v) @@ -76067,7 +74448,30 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + unsafe void Vertex2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] public static void Vertex2(Single[] v) @@ -76097,7 +74501,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2i")] public static void Vertex2(Int32 x, Int32 y) @@ -76121,22 +74524,16 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] public static - void Vertex2(ref Int32 v) + unsafe void Vertex2(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex2iv((Int32*)v_ptr); - } - } + Delegates.glVertex2iv((Int32*)v); #if DEBUG } #endif @@ -76151,7 +74548,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] public static void Vertex2(Int32[] v) @@ -76181,17 +74577,21 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] public static - unsafe void Vertex2(Int32* v) + void Vertex2(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertex2iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex2iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -76206,7 +74606,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2s")] public static void Vertex2(Int16 x, Int16 y) @@ -76230,37 +74629,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - void Vertex2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] public static @@ -76285,7 +74653,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] public static void Vertex2(Int16[] v) @@ -76315,7 +74682,35 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + void Vertex2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3d")] public static void Vertex3(Double x, Double y, Double z) @@ -76339,7 +74734,30 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + unsafe void Vertex3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] public static void Vertex3(Double[] v) @@ -76369,32 +74787,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - unsafe void Vertex3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] public static void Vertex3(ref Double v) @@ -76424,7 +74816,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3f")] public static void Vertex3(Single x, Single y, Single z) @@ -76448,32 +74839,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - unsafe void Vertex3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] public static void Vertex3(ref Single v) @@ -76503,7 +74868,30 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + unsafe void Vertex3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] public static void Vertex3(Single[] v) @@ -76533,7 +74921,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3i")] public static void Vertex3(Int32 x, Int32 y, Int32 z) @@ -76557,7 +74944,30 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + unsafe void Vertex3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3iv((Int32*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] public static void Vertex3(Int32[] v) @@ -76587,32 +74997,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - unsafe void Vertex3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] public static void Vertex3(ref Int32 v) @@ -76642,7 +75026,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3s")] public static void Vertex3(Int16 x, Int16 y, Int16 z) @@ -76666,37 +75049,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - void Vertex3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] public static @@ -76721,7 +75073,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] public static void Vertex3(Int16[] v) @@ -76751,7 +75102,35 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + void Vertex3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4d")] public static void Vertex4(Double x, Double y, Double z, Double w) @@ -76775,7 +75154,30 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + unsafe void Vertex4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] public static void Vertex4(Double[] v) @@ -76805,7 +75207,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] public static void Vertex4(ref Double v) @@ -76835,32 +75236,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - unsafe void Vertex4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4f")] public static void Vertex4(Single x, Single y, Single z, Single w) @@ -76884,7 +75259,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] public static void Vertex4(ref Single v) @@ -76914,7 +75288,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] public static @@ -76939,7 +75312,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] public static void Vertex4(Single[] v) @@ -76969,7 +75341,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4i")] public static void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -76993,7 +75364,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] public static @@ -77018,37 +75388,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - void Vertex4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] public static void Vertex4(Int32[] v) @@ -77078,7 +75417,35 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + void Vertex4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4s")] public static void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -77102,37 +75469,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - void Vertex4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] public static @@ -77157,7 +75493,6 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] public static void Vertex4(Int16[] v) @@ -77179,6 +75514,35 @@ namespace OpenTK.Graphics } + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + void Vertex4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -77192,7 +75556,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1d((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] public static @@ -77222,66 +75613,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] - public static - unsafe void VertexAttrib1(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] public static @@ -77311,7 +75642,63 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] + public static + unsafe void VertexAttrib1(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(Int32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] public static @@ -77341,36 +75728,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] public static @@ -77400,7 +75757,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] public static @@ -77430,7 +75786,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] + public static + void VertexAttrib1(Int32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] public static @@ -77460,36 +75843,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] public static @@ -77519,7 +75872,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] public static @@ -77549,7 +75901,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -77578,7 +75929,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] public static @@ -77608,23 +75958,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static - void VertexAttrib2(UInt32 index, ref Double v) + unsafe void VertexAttrib2(Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); #if DEBUG } #endif @@ -77644,7 +75987,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static void VertexAttrib2(Int32 index, Double[] v) @@ -77679,7 +76021,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -77715,70 +76119,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, ref Double v) + void VertexAttrib2(UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -77810,7 +76154,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -77839,7 +76182,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] public static @@ -77869,7 +76211,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -77904,37 +76245,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -77964,43 +76274,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -78035,7 +76308,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -78071,7 +76343,70 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -78100,7 +76435,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] public static @@ -78130,23 +76464,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static - void VertexAttrib2(UInt32 index, ref Int16 v) + unsafe void VertexAttrib2(Int32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); #if DEBUG } #endif @@ -78166,7 +76493,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static void VertexAttrib2(Int32 index, Int16[] v) @@ -78201,7 +76527,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -78237,70 +76625,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) + void VertexAttrib2(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -78332,7 +76660,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] public static void VertexAttrib3(Int32 index, Double x, Double y, Double z) @@ -78361,7 +76688,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] public static @@ -78391,7 +76717,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -78426,7 +76814,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -78456,37 +76843,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -78522,42 +76878,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -78593,7 +76913,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -78622,7 +76941,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] public static @@ -78652,7 +76970,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static void VertexAttrib3(Int32 index, ref Single v) @@ -78687,37 +77004,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -78747,43 +77033,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static void VertexAttrib3(Int32 index, Single[] v) @@ -78818,7 +77067,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -78854,7 +77102,70 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -78883,7 +77194,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static @@ -78913,7 +77223,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -78948,7 +77320,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -78978,37 +77349,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -79044,42 +77384,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -79115,37 +77419,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -79181,7 +77454,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] + public static + unsafe void VertexAttrib4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -79217,7 +77518,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] + public static + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] public static @@ -79247,16 +77575,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + unsafe void VertexAttrib4(Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); #if DEBUG } #endif @@ -79276,7 +77604,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + void VertexAttrib4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -79311,37 +77672,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -79371,7 +77701,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -79407,42 +77736,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -79478,7 +77771,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] public static @@ -79508,16 +77828,21 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) + void VertexAttrib4(Int32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -79537,7 +77862,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -79573,37 +77960,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -79633,77 +77989,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -79739,78 +78024,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -79840,37 +78053,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static void VertexAttrib4(Int32 index, Int32[] v) @@ -79905,7 +78087,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + unsafe void VertexAttrib4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -79927,10 +78171,24 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static - void VertexAttrib4N(UInt32 index, SByte[] v) + void VertexAttrib4(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -79938,9 +78196,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = v) + fixed (Int32* v_ptr = &v) { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); } } #if DEBUG @@ -79984,6 +78242,62 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + void VertexAttrib4N(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + unsafe void VertexAttrib4N(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] public static void VertexAttrib4N(Int32 index, ref Int32 v) @@ -80019,21 +78333,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] public static @@ -80055,26 +78354,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] public static @@ -80096,6 +78375,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + unsafe void VertexAttrib4N(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] public static void VertexAttrib4N(Int32 index, ref Int16 v) @@ -80131,21 +78445,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] public static @@ -80167,26 +78466,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] public static @@ -80237,6 +78516,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] public static void VertexAttrib4N(Int32 index, ref Byte v) @@ -80272,21 +78586,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] public static @@ -80308,26 +78607,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] public static @@ -80349,21 +78628,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] public static @@ -80385,6 +78649,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] public static @@ -80406,21 +78685,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] public static @@ -80442,6 +78706,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] public static @@ -80477,7 +78756,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -80506,7 +78784,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static @@ -80536,7 +78813,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static void VertexAttrib4(Int32 index, ref Int16 v) @@ -80571,7 +78910,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -80601,37 +78939,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -80667,42 +78974,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -80738,7 +79009,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + void VertexAttrib4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -80773,7 +79106,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -80803,37 +79135,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -80869,42 +79170,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -80940,37 +79205,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -81006,7 +79240,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -81042,37 +79304,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -81108,7 +79339,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -81162,7 +79421,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) + unsafe void VertexAttribI1(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81177,7 +79436,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] public static - unsafe void VertexAttribI1(Int32 index, Int32* v) + unsafe void VertexAttribI1(UInt32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81219,21 +79478,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2i")] public static void VertexAttribI2(Int32 index, Int32 x, Int32 y) @@ -81248,10 +79492,39 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + public static + void VertexAttribI2(UInt32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] public static - void VertexAttribI2(UInt32 index, Int32[] v) + unsafe void VertexAttribI2(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(Int32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81271,7 +79544,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] public static - void VertexAttribI2(Int32 index, Int32[] v) + void VertexAttribI2(Int32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81279,7 +79552,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = v) + fixed (Int32* v_ptr = &v) { Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); } @@ -81307,22 +79580,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) + void VertexAttribI2(UInt32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81330,7 +79588,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Int32* v_ptr = v) { Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); } @@ -81340,9 +79598,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] public static - void VertexAttribI2(Int32 index, ref Int32 v) + void VertexAttribI2(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81375,21 +79634,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] public static @@ -81411,6 +79655,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + unsafe void VertexAttribI2(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] public static @@ -81432,6 +79691,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + public static + void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3i")] public static @@ -81447,15 +79720,56 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) + unsafe void VertexAttribI3(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -81476,21 +79790,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] public static @@ -81512,26 +79811,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] public static @@ -81553,26 +79832,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] public static @@ -81588,21 +79847,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] public static @@ -81624,6 +79868,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + unsafe void VertexAttribI3(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] public static @@ -81648,7 +79907,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] public static - void VertexAttribI4(UInt32 index, SByte[] v) + void VertexAttribI4(UInt32 index, ref SByte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81656,7 +79915,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = v) + fixed (SByte* v_ptr = &v) { Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); } @@ -81684,7 +79943,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] public static - void VertexAttribI4(UInt32 index, ref SByte v) + void VertexAttribI4(UInt32 index, SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81692,7 +79951,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = &v) + fixed (SByte* v_ptr = v) { Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); } @@ -81731,6 +79990,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static void VertexAttribI4(Int32 index, ref Int32 v) @@ -81766,21 +80060,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static @@ -81802,26 +80081,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static @@ -81846,19 +80105,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static - void VertexAttribI4(UInt32 index, ref Int16 v) + unsafe void VertexAttribI4(Int32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); #if DEBUG } #endif @@ -81904,21 +80157,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static @@ -81956,9 +80194,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static - void VertexAttribI4(UInt32 index, ref Byte v) + void VertexAttribI4(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81966,9 +80204,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* v_ptr = &v) + fixed (Int16* v_ptr = &v) { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); } } #if DEBUG @@ -81976,6 +80214,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static void VertexAttribI4(Int32 index, Byte[] v) @@ -82016,21 +80269,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static @@ -82067,6 +80305,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] public static @@ -82082,21 +80341,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] public static @@ -82118,6 +80362,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] public static @@ -82139,21 +80398,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] public static @@ -82175,6 +80419,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] public static @@ -82198,37 +80457,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -82238,7 +80467,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82251,7 +80480,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -82261,7 +80490,91 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, VertexAttribParameter type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82275,7 +80588,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -82285,30 +80598,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82322,7 +80612,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -82332,53 +80622,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82392,7 +80636,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -82402,7 +80646,79 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, VertexAttribParameter type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82447,11 +80763,229 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) where T5 : struct { #if DEBUG @@ -82461,7 +80995,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82506,185 +81040,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) where T5 : struct { #if DEBUG @@ -82694,7 +81053,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82739,11 +81098,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) where T5 : struct { #if DEBUG @@ -82753,7 +81111,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82798,118 +81156,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) where T5 : struct { #if DEBUG @@ -82919,7 +81169,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -82964,17 +81214,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + void VertexAttribPointer(UInt32 index, Int32 size, VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -83004,10 +81253,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -83017,7 +81265,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -83052,10 +81300,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -83065,7 +81312,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -83100,10 +81347,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -83113,7 +81359,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -83148,10 +81394,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -83161,7 +81406,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -83196,16 +81441,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexPointer((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -83225,7 +81469,6 @@ namespace OpenTK.Graphics /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glViewport")] public static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) @@ -83240,6 +81483,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glWaitSync")] public static @@ -83255,20 +81512,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glWaitSync")] - public static - void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - #if DEBUG - } - #endif - } - /// /// Specify the raster position in window coordinates for pixel operations @@ -83278,7 +81521,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2d")] public static void WindowPos2(Double x, Double y) @@ -83302,7 +81544,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static @@ -83327,7 +81568,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static void WindowPos2(Double[] v) @@ -83357,7 +81597,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static void WindowPos2(ref Double v) @@ -83387,7 +81626,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2f")] public static void WindowPos2(Single x, Single y) @@ -83411,62 +81649,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static void WindowPos2(ref Single v) @@ -83496,7 +81678,59 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] + public static + unsafe void WindowPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] + public static + void WindowPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2i")] public static void WindowPos2(Int32 x, Int32 y) @@ -83520,7 +81754,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static @@ -83545,37 +81778,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static void WindowPos2(Int32[] v) @@ -83605,7 +81807,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] + public static + void WindowPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2s")] public static void WindowPos2(Int16 x, Int16 y) @@ -83629,7 +81859,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static @@ -83654,37 +81883,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static void WindowPos2(Int16[] v) @@ -83714,7 +81912,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] + public static + void WindowPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3d")] public static void WindowPos3(Double x, Double y, Double z) @@ -83738,7 +81964,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dv((Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] public static void WindowPos3(Double[] v) @@ -83768,7 +82017,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] public static void WindowPos3(ref Double v) @@ -83798,32 +82046,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3f")] public static void WindowPos3(Single x, Single y, Single z) @@ -83847,32 +82069,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static void WindowPos3(ref Single v) @@ -83902,7 +82098,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fv((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static void WindowPos3(Single[] v) @@ -83932,7 +82151,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3i")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -83956,7 +82174,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static @@ -83981,37 +82198,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static void WindowPos3(Int32[] v) @@ -84041,7 +82227,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3s")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -84065,37 +82279,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static @@ -84120,7 +82303,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static void WindowPos3(Int16[] v) @@ -84141,17 +82323,46 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + void WindowPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + public static partial class Ext { [AutoGenerated(Category = "ExtStencilTwoSide", Version = "1.3", EntryPoint = "glActiveStencilFaceEXT")] public static - void ActiveStencilFace(OpenTK.Graphics.ExtStencilTwoSide face) + void ActiveStencilFace(ExtStencilTwoSide face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.ExtStencilTwoSide)face); + Delegates.glActiveStencilFaceEXT((ExtStencilTwoSide)face); #if DEBUG } #endif @@ -84159,13 +82370,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glApplyTextureEXT")] public static - void ApplyTexture(OpenTK.Graphics.ExtLightTexture mode) + void ApplyTexture(ExtLightTexture mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glApplyTextureEXT((OpenTK.Graphics.ExtLightTexture)mode); + Delegates.glApplyTextureEXT((ExtLightTexture)mode); #if DEBUG } #endif @@ -84190,7 +82401,80 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) @@ -84233,7 +82517,49 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + public static + bool AreTexturesResident(Int32 n, ref UInt32 textures, [Out] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -84268,42 +82594,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -84327,91 +82617,6 @@ namespace OpenTK.Graphics } - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] - public static - bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] - public static - bool AreTexturesResident(Int32 n, ref UInt32 textures, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - /// /// Render a vertex using the specified vertex array element /// @@ -84420,7 +82625,6 @@ namespace OpenTK.Graphics /// Specifies an index into the enabled vertex data arrays. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glArrayElementEXT")] public static void ArrayElement(Int32 i) @@ -84437,13 +82641,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBeginTransformFeedbackEXT")] public static - void BeginTransformFeedback(OpenTK.Graphics.ExtTransformFeedback primitiveMode) + void BeginTransformFeedback(ExtTransformFeedback primitiveMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.ExtTransformFeedback)primitiveMode); + Delegates.glBeginTransformFeedbackEXT((ExtTransformFeedback)primitiveMode); #if DEBUG } #endif @@ -84465,13 +82669,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] public static - void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer) + void BindBufferBase(ExtTransformFeedback target, Int32 index, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + Delegates.glBindBufferBaseEXT((ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); #if DEBUG } #endif @@ -84480,13 +82684,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] public static - void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer) + void BindBufferBase(ExtTransformFeedback target, UInt32 index, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + Delegates.glBindBufferBaseEXT((ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] + public static + void BindBufferOffset(ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetEXT((ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); #if DEBUG } #endif @@ -84495,27 +82713,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] public static - void BindBufferOffset(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + void BindBufferOffset(ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + Delegates.glBindBufferOffsetEXT((ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] public static - void BindBufferOffset(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + void BindBufferRange(ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + Delegates.glBindBufferRangeEXT((ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif @@ -84524,42 +82742,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] public static - void BindBufferRange(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + void BindBufferRange(ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] - public static - void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + Delegates.glBindBufferRangeEXT((ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif @@ -84580,15 +82769,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) + void BindFragDataLocation(UInt32 program, UInt32 color, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); #if DEBUG } #endif @@ -84596,13 +82785,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) + void BindFramebuffer(FramebufferTarget target, Int32 framebuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + Delegates.glBindFramebufferEXT((FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] + public static + void BindFramebuffer(FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferEXT((FramebufferTarget)target, (UInt32)framebuffer); #if DEBUG } #endif @@ -84610,13 +82814,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindLightParameterEXT")] public static - Int32 BindLightParameter(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value) + Int32 BindLightParameter(LightName light, LightParameter value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glBindLightParameterEXT((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)value); + return Delegates.glBindLightParameterEXT((LightName)light, (LightParameter)value); #if DEBUG } #endif @@ -84624,13 +82828,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindMaterialParameterEXT")] public static - Int32 BindMaterialParameter(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value) + Int32 BindMaterialParameter(MaterialFace face, MaterialParameter value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)value); + return Delegates.glBindMaterialParameterEXT((MaterialFace)face, (MaterialParameter)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] + public static + void BindMultiTexture(TextureUnit texunit, TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindMultiTextureEXT((TextureUnit)texunit, (TextureTarget)target, (UInt32)texture); #if DEBUG } #endif @@ -84639,27 +82857,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] public static - void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture) + void BindMultiTexture(TextureUnit texunit, TextureTarget target, UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static - void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + Delegates.glBindMultiTextureEXT((TextureUnit)texunit, (TextureTarget)target, (UInt32)texture); #if DEBUG } #endif @@ -84667,13 +82871,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindParameterEXT")] public static - Int32 BindParameter(OpenTK.Graphics.ExtVertexShader value) + Int32 BindParameter(ExtVertexShader value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glBindParameterEXT((OpenTK.Graphics.ExtVertexShader)value); + return Delegates.glBindParameterEXT((ExtVertexShader)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] + public static + void BindRenderbuffer(RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferEXT((RenderbufferTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -84682,27 +82900,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) + void BindRenderbuffer(RenderbufferTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] - public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); + Delegates.glBindRenderbufferEXT((RenderbufferTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -84710,13 +82914,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindTexGenParameterEXT")] public static - Int32 BindTexGenParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value) + Int32 BindTexGenParameter(TextureUnit unit, TextureCoordName coord, TextureGenParameter value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)value); + return Delegates.glBindTexGenParameterEXT((TextureUnit)unit, (TextureCoordName)coord, (TextureGenParameter)value); #if DEBUG } #endif @@ -84736,16 +82940,15 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glBindTextureEXT")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) + void BindTexture(TextureTarget target, Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTextureEXT((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + Delegates.glBindTextureEXT((TextureTarget)target, (UInt32)texture); #if DEBUG } #endif @@ -84765,17 +82968,16 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glBindTextureEXT")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) + void BindTexture(TextureTarget target, UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTextureEXT((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + Delegates.glBindTextureEXT((TextureTarget)target, (UInt32)texture); #if DEBUG } #endif @@ -84783,13 +82985,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindTextureUnitParameterEXT")] public static - Int32 BindTextureUnitParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.ExtVertexShader value) + Int32 BindTextureUnitParameter(TextureUnit unit, ExtVertexShader value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.ExtVertexShader)value); + return Delegates.glBindTextureUnitParameterEXT((TextureUnit)unit, (ExtVertexShader)value); #if DEBUG } #endif @@ -84824,21 +83026,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] - public static - void Binormal3(SByte bx, SByte by, SByte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] public static void Binormal3(Byte bx, Byte by, Byte bz) @@ -84854,15 +83041,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] public static - unsafe void Binormal3(SByte* v) + void Binormal3(SByte bx, SByte by, SByte bz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBinormal3bvEXT((SByte*)v); + Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); #if DEBUG } #endif @@ -84883,6 +83070,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glBinormal3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static void Binormal3(ref Byte v) @@ -84906,7 +83113,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static - void Binormal3(SByte[] v) + void Binormal3(ref SByte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -84914,27 +83121,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) + fixed (SByte* v_ptr = &v) { Delegates.glBinormal3bvEXT((SByte*)v_ptr); } @@ -84947,7 +83134,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static - void Binormal3(ref SByte v) + unsafe void Binormal3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -84955,7 +83157,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = &v) + fixed (SByte* v_ptr = v) { Delegates.glBinormal3bvEXT((SByte*)v_ptr); } @@ -84994,26 +83196,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] - public static - void Binormal3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glBinormal3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] public static void Binormal3(Double[] v) @@ -85034,6 +83216,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] + public static + void Binormal3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glBinormal3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fEXT")] public static void Binormal3(Single bx, Single by, Single bz) @@ -85048,26 +83250,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] - public static - void Binormal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glBinormal3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] public static void Binormal3(ref Single v) @@ -85103,6 +83285,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] + public static + void Binormal3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glBinormal3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3iEXT")] public static void Binormal3(Int32 bx, Int32 by, Int32 bz) @@ -85132,26 +83334,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] - public static - void Binormal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glBinormal3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] public static void Binormal3(Int32[] v) @@ -85172,6 +83354,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] + public static + void Binormal3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glBinormal3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3sEXT")] public static void Binormal3(Int16 bx, Int16 by, Int16 bz) @@ -85186,6 +83388,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + unsafe void Binormal3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] public static void Binormal3(Int16[] v) @@ -85226,38 +83443,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] - public static - unsafe void Binormal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3svEXT((Int16*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + void BinormalPointer(NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -85267,7 +83455,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glBinormalPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85280,7 +83468,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) + void BinormalPointer(NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -85290,7 +83478,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glBinormalPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85303,7 +83491,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + void BinormalPointer(NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -85313,7 +83501,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glBinormalPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85326,7 +83514,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void BinormalPointer(NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -85336,7 +83524,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glBinormalPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85347,6 +83535,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormalPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + /// /// Set the blend color @@ -85356,7 +83558,6 @@ namespace OpenTK.Graphics /// specify the components of GL_BLEND_COLOR /// /// - [AutoGenerated(Category = "ExtBlendColor", Version = "1.0", EntryPoint = "glBlendColorEXT")] public static void BlendColor(Single red, Single green, Single blue, Single alpha) @@ -85380,16 +83581,15 @@ namespace OpenTK.Graphics /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [AutoGenerated(Category = "ExtBlendMinmax", Version = "1.0", EntryPoint = "glBlendEquationEXT")] public static - void BlendEquation(OpenTK.Graphics.ExtBlendMinmax mode) + void BlendEquation(ExtBlendMinmax mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ExtBlendMinmax)mode); + Delegates.glBlendEquationEXT((ExtBlendMinmax)mode); #if DEBUG } #endif @@ -85409,16 +83609,15 @@ namespace OpenTK.Graphics /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [AutoGenerated(Category = "ExtBlendEquationSeparate", Version = "1.2", EntryPoint = "glBlendEquationSeparateEXT")] public static - void BlendEquationSeparate(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha) + void BlendEquationSeparate(ExtBlendEquationSeparate modeRGB, ExtBlendEquationSeparate modeAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.ExtBlendEquationSeparate)modeAlpha); + Delegates.glBlendEquationSeparateEXT((ExtBlendEquationSeparate)modeRGB, (ExtBlendEquationSeparate)modeAlpha); #if DEBUG } #endif @@ -85448,16 +83647,15 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// - [AutoGenerated(Category = "ExtBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateEXT")] public static - void BlendFuncSeparate(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha) + void BlendFuncSeparate(ExtBlendFuncSeparate sfactorRGB, ExtBlendFuncSeparate dfactorRGB, ExtBlendFuncSeparate sfactorAlpha, ExtBlendFuncSeparate dfactorAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.ExtBlendFuncSeparate)dfactorAlpha); + Delegates.glBlendFuncSeparateEXT((ExtBlendFuncSeparate)sfactorRGB, (ExtBlendFuncSeparate)dfactorRGB, (ExtBlendFuncSeparate)sfactorAlpha, (ExtBlendFuncSeparate)dfactorAlpha); #if DEBUG } #endif @@ -85465,13 +83663,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferBlit", Version = "1.5", EntryPoint = "glBlitFramebufferEXT")] public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.ExtFramebufferBlit filter) + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, ClearBufferMask mask, ExtFramebufferBlit filter) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.ExtFramebufferBlit)filter); + Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (ClearBufferMask)mask, (ExtFramebufferBlit)filter); #if DEBUG } #endif @@ -85479,13 +83677,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glCheckFramebufferStatusEXT")] public static - OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target) + FramebufferErrorCode CheckFramebufferStatus(FramebufferTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.FramebufferTarget)target); + return Delegates.glCheckFramebufferStatusEXT((FramebufferTarget)target); #if DEBUG } #endif @@ -85493,13 +83691,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] public static - OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.FramebufferTarget target) + ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, FramebufferTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferTarget)target); + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (FramebufferTarget)target); #if DEBUG } #endif @@ -85508,13 +83706,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] public static - OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.FramebufferTarget target) + ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, FramebufferTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferTarget)target); + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (FramebufferTarget)target); #if DEBUG } #endif @@ -85551,13 +83749,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glClientAttribDefaultEXT")] public static - void ClientAttribDefault(OpenTK.Graphics.ClientAttribMask mask) + void ClientAttribDefault(ClientAttribMask mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.ClientAttribMask)mask); + Delegates.glClientAttribDefaultEXT((ClientAttribMask)mask); #if DEBUG } #endif @@ -85616,10 +83814,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -85629,7 +83826,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85664,49 +83861,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -85716,7 +83873,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85751,10 +83908,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -85764,7 +83920,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85799,10 +83955,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -85812,7 +83967,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -85824,6 +83979,44 @@ namespace OpenTK.Graphics } + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Respecify a portion of a color table /// @@ -85857,10 +84050,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] ref T5 data) where T5 : struct { #if DEBUG @@ -85870,7 +84062,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -85915,59 +84107,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[,,] data) where T5 : struct { #if DEBUG @@ -85977,7 +84119,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -86022,10 +84164,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[,] data) where T5 : struct { #if DEBUG @@ -86035,7 +84176,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -86080,10 +84221,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, [In, Out] T5[] data) where T5 : struct { #if DEBUG @@ -86093,7 +84233,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glColorSubTableEXT((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -86105,6 +84245,54 @@ namespace OpenTK.Graphics } + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(ColorTableTarget target, Int32 start, Int32 count, PixelFormat format, PixelType type, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorSubTableEXT((ColorTableTarget)target, (Int32)start, (Int32)count, (PixelFormat)format, (PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Define a color lookup table /// @@ -86138,10 +84326,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalFormat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 table) where T5 : struct { #if DEBUG @@ -86151,7 +84338,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((ColorTableTarget)target, (PixelInternalFormat)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -86196,10 +84383,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalFormat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] table) where T5 : struct { #if DEBUG @@ -86209,7 +84395,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((ColorTableTarget)target, (PixelInternalFormat)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -86254,10 +84440,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalFormat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] table) where T5 : struct { #if DEBUG @@ -86267,7 +84452,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((ColorTableTarget)target, (PixelInternalFormat)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -86312,16 +84497,24 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + void ColorTable(ColorTableTarget target, PixelInternalFormat internalFormat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] table) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((ColorTableTarget)target, (PixelInternalFormat)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } #if DEBUG } #endif @@ -86361,25 +84554,15 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) - where T5 : struct + void ColorTable(ColorTableTarget target, PixelInternalFormat internalFormat, Int32 width, PixelFormat format, PixelType type, IntPtr table) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } + Delegates.glColorTableEXT((ColorTableTarget)target, (PixelInternalFormat)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table); #if DEBUG } #endif @@ -86387,7 +84570,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + void CompressedMultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) where T7 : struct { #if DEBUG @@ -86397,7 +84580,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86410,7 +84593,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + void CompressedMultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) where T7 : struct { #if DEBUG @@ -86420,7 +84603,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86433,7 +84616,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + void CompressedMultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) where T7 : struct { #if DEBUG @@ -86443,7 +84626,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86456,7 +84639,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + void CompressedMultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) where T7 : struct { #if DEBUG @@ -86466,7 +84649,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86479,13 +84662,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + void CompressedMultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + Delegates.glCompressedMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -86493,7 +84676,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + void CompressedMultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) where T8 : struct { #if DEBUG @@ -86503,7 +84686,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86516,21 +84699,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + void CompressedMultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) where T8 : struct { #if DEBUG @@ -86540,7 +84709,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86553,7 +84722,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + void CompressedMultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) where T8 : struct { #if DEBUG @@ -86563,7 +84732,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86576,7 +84745,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + void CompressedMultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) where T8 : struct { #if DEBUG @@ -86586,7 +84755,44 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86599,7 +84805,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedMultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -86609,7 +84815,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86622,7 +84828,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + void CompressedMultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -86632,7 +84838,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86645,7 +84851,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + void CompressedMultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -86655,7 +84861,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86668,22 +84874,22 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + void CompressedMultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + Delegates.glCompressedMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct + void CompressedMultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -86692,7 +84898,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86705,7 +84911,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + void CompressedMultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) where T7 : struct { #if DEBUG @@ -86715,7 +84921,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86728,7 +84934,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + void CompressedMultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) where T7 : struct { #if DEBUG @@ -86738,7 +84944,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86751,7 +84957,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + void CompressedMultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) where T7 : struct { #if DEBUG @@ -86761,7 +84967,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86774,36 +84980,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct + void CompressedMultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + Delegates.glCompressedMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -86811,7 +84994,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + void CompressedMultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) where T9 : struct { #if DEBUG @@ -86821,7 +85004,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86834,21 +85017,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + void CompressedMultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -86858,7 +85027,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86871,7 +85040,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + void CompressedMultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -86881,7 +85050,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86894,7 +85063,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedMultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -86904,7 +85073,44 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86917,7 +85123,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + void CompressedMultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) where T11 : struct { #if DEBUG @@ -86927,7 +85133,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86940,7 +85146,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + void CompressedMultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) where T11 : struct { #if DEBUG @@ -86950,7 +85156,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86963,7 +85169,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + void CompressedMultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) where T11 : struct { #if DEBUG @@ -86973,7 +85179,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -86986,8 +85192,22 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) - where T11 : struct + void CompressedMultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -86996,7 +85216,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87007,15 +85227,84 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + void CompressedTextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -87024,7 +85313,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + void CompressedTextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) where T7 : struct { #if DEBUG @@ -87034,76 +85323,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87117,7 +85337,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + void CompressedTextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) where T7 : struct { #if DEBUG @@ -87127,30 +85347,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87164,7 +85361,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + void CompressedTextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) where T7 : struct { #if DEBUG @@ -87174,7 +85371,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87188,7 +85385,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + void CompressedTextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) where T7 : struct { #if DEBUG @@ -87198,7 +85395,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87212,36 +85409,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + void CompressedTextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + void CompressedTextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) where T8 : struct { #if DEBUG @@ -87251,7 +85433,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87264,7 +85446,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + void CompressedTextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) where T8 : struct { #if DEBUG @@ -87274,7 +85456,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87287,21 +85469,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + void CompressedTextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) where T8 : struct { #if DEBUG @@ -87311,7 +85479,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87322,25 +85490,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + void CompressedTextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) where T8 : struct { #if DEBUG @@ -87350,7 +85502,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87363,7 +85515,22 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + void CompressedTextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) where T8 : struct { #if DEBUG @@ -87373,7 +85540,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87387,7 +85554,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + void CompressedTextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) where T8 : struct { #if DEBUG @@ -87397,7 +85564,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87411,7 +85578,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + void CompressedTextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) where T8 : struct { #if DEBUG @@ -87421,7 +85588,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87432,9 +85599,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + void CompressedTextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) where T8 : struct { #if DEBUG @@ -87444,7 +85612,152 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87458,7 +85771,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + void CompressedTextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -87468,91 +85781,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87566,7 +85795,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedTextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -87576,30 +85805,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87613,7 +85819,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + void CompressedTextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -87623,7 +85829,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87637,36 +85843,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + void CompressedTextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -87674,7 +85857,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + void CompressedTextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) where T7 : struct { #if DEBUG @@ -87684,7 +85867,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87695,10 +85878,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + void CompressedTextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) where T7 : struct { #if DEBUG @@ -87708,7 +85890,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87719,38 +85901,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + void CompressedTextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) where T7 : struct { #if DEBUG @@ -87760,7 +85913,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87773,7 +85926,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + void CompressedTextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) where T7 : struct { #if DEBUG @@ -87783,7 +85936,45 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87797,7 +85988,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + void CompressedTextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) where T7 : struct { #if DEBUG @@ -87807,7 +85998,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87821,7 +86012,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + void CompressedTextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) where T7 : struct { #if DEBUG @@ -87831,7 +86022,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87845,7 +86036,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + void CompressedTextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) where T7 : struct { #if DEBUG @@ -87855,7 +86046,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87866,33 +86057,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct + void CompressedTextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + void CompressedTextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) where T9 : struct { #if DEBUG @@ -87902,7 +86084,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87915,7 +86097,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + void CompressedTextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -87925,7 +86107,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87938,22 +86120,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedTextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -87963,7 +86130,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87976,7 +86143,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + void CompressedTextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -87986,7 +86153,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -87999,7 +86166,22 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + void CompressedTextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) where T9 : struct { #if DEBUG @@ -88009,7 +86191,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88020,9 +86202,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedTextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -88032,7 +86215,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88046,7 +86229,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + void CompressedTextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -88056,7 +86239,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88070,22 +86253,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + void CompressedTextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -88095,7 +86263,45 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88108,7 +86314,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + void CompressedTextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) where T11 : struct { #if DEBUG @@ -88118,7 +86324,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88131,7 +86337,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + void CompressedTextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) where T11 : struct { #if DEBUG @@ -88141,7 +86347,68 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88155,7 +86422,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + void CompressedTextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) where T11 : struct { #if DEBUG @@ -88165,30 +86432,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88202,7 +86446,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + void CompressedTextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) where T11 : struct { #if DEBUG @@ -88212,7 +86456,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88226,21 +86470,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + void CompressedTextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) where T11 : struct { #if DEBUG @@ -88250,7 +86480,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -88264,60 +86494,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) - where T11 : struct + void CompressedTextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -88357,10 +86540,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + void ConvolutionFilter1D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 image) where T5 : struct { #if DEBUG @@ -88370,7 +86552,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88415,59 +86597,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + void ConvolutionFilter1D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] image) where T5 : struct { #if DEBUG @@ -88477,7 +86609,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88522,10 +86654,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + void ConvolutionFilter1D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] image) where T5 : struct { #if DEBUG @@ -88535,7 +86666,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88580,10 +86711,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + void ConvolutionFilter1D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] image) where T5 : struct { #if DEBUG @@ -88593,7 +86723,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter1DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88605,6 +86735,54 @@ namespace OpenTK.Graphics } + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// /// Define a two-dimensional convolution filter /// @@ -88643,10 +86821,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + void ConvolutionFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T6 image) where T6 : struct { #if DEBUG @@ -88656,7 +86833,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88706,10 +86883,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + void ConvolutionFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,,] image) where T6 : struct { #if DEBUG @@ -88719,7 +86895,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88769,64 +86945,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + void ConvolutionFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,] image) where T6 : struct { #if DEBUG @@ -88836,7 +86957,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88886,10 +87007,9 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + void ConvolutionFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[] image) where T6 : struct { #if DEBUG @@ -88899,7 +87019,7 @@ namespace OpenTK.Graphics GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + Delegates.glConvolutionFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); } finally { @@ -88911,6 +87031,59 @@ namespace OpenTK.Graphics } + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + /// /// Set convolution parameters /// @@ -88932,16 +87105,15 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfEXT")] public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params) + void ConvolutionParameter(ExtConvolution target, ExtConvolution pname, Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single)@params); + Delegates.glConvolutionParameterfEXT((ExtConvolution)target, (ExtConvolution)pname, (Single)@params); #if DEBUG } #endif @@ -88969,17 +87141,16 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params) + unsafe void ConvolutionParameter(ExtConvolution target, ExtConvolution pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); + Delegates.glConvolutionParameterfvEXT((ExtConvolution)target, (ExtConvolution)pname, (Single*)@params); #if DEBUG } #endif @@ -89007,10 +87178,9 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single[] @params) + void ConvolutionParameter(ExtConvolution target, ExtConvolution pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89020,7 +87190,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); + Delegates.glConvolutionParameterfvEXT((ExtConvolution)target, (ExtConvolution)pname, (Single*)@params_ptr); } } #if DEBUG @@ -89050,16 +87220,15 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameteriEXT")] public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params) + void ConvolutionParameter(ExtConvolution target, ExtConvolution pname, Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32)@params); + Delegates.glConvolutionParameteriEXT((ExtConvolution)target, (ExtConvolution)pname, (Int32)@params); #if DEBUG } #endif @@ -89087,17 +87256,16 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32* @params) + unsafe void ConvolutionParameter(ExtConvolution target, ExtConvolution pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); + Delegates.glConvolutionParameterivEXT((ExtConvolution)target, (ExtConvolution)pname, (Int32*)@params); #if DEBUG } #endif @@ -89125,10 +87293,9 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32[] @params) + void ConvolutionParameter(ExtConvolution target, ExtConvolution pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89138,7 +87305,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); + Delegates.glConvolutionParameterivEXT((ExtConvolution)target, (ExtConvolution)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -89170,16 +87337,15 @@ namespace OpenTK.Graphics /// The number of table entries to replace. /// /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] public static - void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + void CopyColorSubTable(ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorSubTableEXT((ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -89209,16 +87375,15 @@ namespace OpenTK.Graphics /// The width of the pixel array to copy. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter1DEXT")] public static - void CopyConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + void CopyConvolutionFilter1D(ExtConvolution target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyConvolutionFilter1DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -89253,16 +87418,15 @@ namespace OpenTK.Graphics /// The height of the pixel array to copy. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter2DEXT")] public static - void CopyConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyConvolutionFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyConvolutionFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89270,13 +87434,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] public static - void CopyMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + void CopyMultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + Delegates.glCopyMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); #if DEBUG } #endif @@ -89284,13 +87448,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexImage2DEXT")] public static - void CopyMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + void CopyMultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + Delegates.glCopyMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif @@ -89298,13 +87462,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage1DEXT")] public static - void CopyMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + void CopyMultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -89312,13 +87476,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage2DEXT")] public static - void CopyMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyMultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89326,13 +87490,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage3DEXT")] public static - void CopyMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyMultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89372,16 +87536,15 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage1DEXT")] public static - void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + void CopyTexImage1D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + Delegates.glCopyTexImage1DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); #if DEBUG } #endif @@ -89426,16 +87589,15 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage2DEXT")] public static - void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + void CopyTexImage2D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + Delegates.glCopyTexImage2DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif @@ -89470,16 +87632,15 @@ namespace OpenTK.Graphics /// Specifies the width of the texture subimage. /// /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage1DEXT")] public static - void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + void CopyTexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyTexSubImage1DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -89524,16 +87685,15 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage2DEXT")] public static - void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTexSubImage2DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89583,16 +87743,29 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage3DEXT")] public static - void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTexSubImage3DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] + public static + void CopyTextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); #if DEBUG } #endif @@ -89601,27 +87774,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] public static - void CopyTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + void CopyTextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] public static - void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + void CopyTextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif @@ -89630,27 +87803,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] public static - void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + void CopyTextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static - void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif @@ -89658,13 +87817,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] public static - void CopyTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + void CopyTextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -89673,13 +87832,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] public static - void CopyTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + void CopyTextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] + public static + void CopyTextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89688,27 +87861,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] public static - void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static - void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89716,13 +87875,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] public static - void CopyTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89731,13 +87890,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] public static - void CopyTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -89746,13 +87905,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] public static - unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Double* @params) + unsafe void CullParameter(ExtCullVertex pname, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCullParameterdvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Double*)@params); + Delegates.glCullParameterdvEXT((ExtCullVertex)pname, (Double*)@params); #if DEBUG } #endif @@ -89760,7 +87919,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] public static - void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Double[] @params) + void CullParameter(ExtCullVertex pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89770,7 +87929,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glCullParameterdvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Double*)@params_ptr); + Delegates.glCullParameterdvEXT((ExtCullVertex)pname, (Double*)@params_ptr); } } #if DEBUG @@ -89780,7 +87939,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] public static - void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] out Double @params) + void CullParameter(ExtCullVertex pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89790,7 +87949,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glCullParameterdvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Double*)@params_ptr); + Delegates.glCullParameterdvEXT((ExtCullVertex)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -89801,7 +87960,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] public static - void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] out Single @params) + void CullParameter(ExtCullVertex pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89811,7 +87970,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params_ptr); + Delegates.glCullParameterfvEXT((ExtCullVertex)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -89820,9 +87979,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] public static - void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single[] @params) + unsafe void CullParameter(ExtCullVertex pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullParameterfvEXT((ExtCullVertex)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] + public static + void CullParameter(ExtCullVertex pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89832,7 +88006,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params_ptr); + Delegates.glCullParameterfvEXT((ExtCullVertex)pname, (Single*)@params_ptr); } } #if DEBUG @@ -89840,21 +88014,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] - public static - unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] public static @@ -89870,6 +88029,82 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] public static @@ -89892,9 +88127,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89902,64 +88151,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* framebuffers_ptr = &framebuffers) + fixed (Int32* renderbuffers_ptr = renderbuffers) { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); } } #if DEBUG @@ -90008,30 +88202,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90064,16 +88238,30 @@ namespace OpenTK.Graphics #endif } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + unsafe void DeleteTextures(Int32 n, Int32* textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); #if DEBUG } #endif @@ -90093,7 +88281,74 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -90129,108 +88384,6 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// - - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -90260,10 +88413,10 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static - void DeleteTextures(Int32 n, ref Int32 textures) + void DeleteTextures(Int32 n, UInt32[] textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90271,7 +88424,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (UInt32* textures_ptr = textures) { Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); } @@ -90281,10 +88434,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] public static - void DeleteVertexShader(UInt32 id) + void DeleteVertexShader(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90296,9 +88448,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] public static - void DeleteVertexShader(Int32 id) + void DeleteVertexShader(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90324,30 +88477,44 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] public static - void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) + void DisableClientStateIndexed(EnableCap array, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + Delegates.glDisableClientStateIndexedEXT((EnableCap)array, (UInt32)index); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] public static - void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) + void DisableClientStateIndexed(EnableCap array, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + Delegates.glDisableClientStateIndexedEXT((EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((ExtDrawBuffers2)target, (UInt32)index); #if DEBUG } #endif @@ -90356,36 +88523,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] public static - void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + void DisableIndexed(ExtDrawBuffers2 target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + Delegates.glDisableIndexedEXT((ExtDrawBuffers2)target, (UInt32)index); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] public static - void DisableVariantClientState(UInt32 id) + void DisableVariantClientState(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90397,9 +88549,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] public static - void DisableVariantClientState(Int32 id) + void DisableVariantClientState(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90430,16 +88583,15 @@ namespace OpenTK.Graphics /// Specifies the number of indices to be rendered. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glDrawArraysEXT")] public static - void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) + void DrawArrays(BeginMode mode, Int32 first, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); + Delegates.glDrawArraysEXT((BeginMode)mode, (Int32)first, (Int32)count); #if DEBUG } #endif @@ -90447,13 +88599,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedEXT")] public static - void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount) + void DrawArraysInstanced(BeginMode mode, Int32 start, Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount); + Delegates.glDrawArraysInstancedEXT((BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount); #if DEBUG } #endif @@ -90461,7 +88613,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -90471,7 +88623,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedEXT((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -90484,7 +88636,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -90494,7 +88646,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedEXT((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -90507,7 +88659,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -90517,7 +88669,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedEXT((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -90530,21 +88682,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -90554,7 +88692,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glDrawElementsInstancedEXT((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -90565,6 +88703,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(BeginMode mode, Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedEXT((BeginMode)mode, (Int32)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + /// /// Render primitives from array data @@ -90599,10 +88751,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices) where T5 : struct { #if DEBUG @@ -90612,7 +88763,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -90657,10 +88808,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices) where T5 : struct { #if DEBUG @@ -90670,7 +88820,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -90715,11 +88865,172 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(BeginMode mode, Int32 start, Int32 end, Int32 count, DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] ref T5 indices) where T5 : struct { #if DEBUG @@ -90729,7 +89040,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -90774,17 +89085,25 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } #if DEBUG } #endif @@ -90824,60 +89143,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[,] indices) where T5 : struct { #if DEBUG @@ -90887,7 +89156,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -90932,11 +89201,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, [In, Out] T5[] indices) where T5 : struct { #if DEBUG @@ -90946,7 +89214,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); } finally { @@ -90991,142 +89259,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) - where T5 : struct + void DrawRangeElements(BeginMode mode, UInt32 start, UInt32 end, Int32 count, DrawElementsType type, IntPtr indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } + Delegates.glDrawRangeElementsEXT((BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (DrawElementsType)type, (IntPtr)indices); #if DEBUG } #endif @@ -91146,7 +89288,35 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] + public static + unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); + #if DEBUG + } + #endif + } + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) @@ -91181,7 +89351,6 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) @@ -91202,45 +89371,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] - public static - unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] public static - void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) + void EnableClientStateIndexed(EnableCap array, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + Delegates.glEnableClientStateIndexedEXT((EnableCap)array, (UInt32)index); #if DEBUG } #endif @@ -91249,13 +89388,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] public static - void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) + void EnableClientStateIndexed(EnableCap array, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + Delegates.glEnableClientStateIndexedEXT((EnableCap)array, (UInt32)index); #if DEBUG } #endif @@ -91263,13 +89402,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] public static - void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + void EnableIndexed(ExtDrawBuffers2 target, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + Delegates.glEnableIndexedEXT((ExtDrawBuffers2)target, (UInt32)index); #if DEBUG } #endif @@ -91278,22 +89417,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] public static - void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + void EnableIndexed(ExtDrawBuffers2 target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + Delegates.glEnableIndexedEXT((ExtDrawBuffers2)target, (UInt32)index); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] public static - void EnableVariantClientState(UInt32 id) + void EnableVariantClientState(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91305,9 +89443,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] public static - void EnableVariantClientState(Int32 id) + void EnableVariantClientState(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91385,7 +89524,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddEXT")] public static void FogCoord(Double coord) @@ -91409,7 +89547,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddvEXT")] public static @@ -91434,7 +89571,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfEXT")] public static void FogCoord(Single coord) @@ -91458,7 +89594,6 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfvEXT")] public static @@ -91493,10 +89628,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) + void FogCoordPointer(ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -91506,7 +89640,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -91536,44 +89670,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[] pointer) + void FogCoordPointer(ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -91583,7 +89682,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -91613,10 +89712,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) + void FogCoordPointer(ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -91626,7 +89724,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -91656,10 +89754,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) + void FogCoordPointer(ExtFogCoord type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -91669,7 +89766,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glFogCoordPointerEXT((ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -91680,15 +89777,48 @@ namespace OpenTK.Graphics #endif } + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(ExtFogCoord type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerEXT((ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] public static - void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.DrawBufferMode mode) + void FramebufferDrawBuffer(Int32 framebuffer, DrawBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.DrawBufferMode)mode); + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (DrawBufferMode)mode); #if DEBUG } #endif @@ -91697,13 +89827,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] public static - void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.DrawBufferMode mode) + void FramebufferDrawBuffer(UInt32 framebuffer, DrawBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.DrawBufferMode)mode); + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (DrawBufferMode)mode); #if DEBUG } #endif @@ -91712,7 +89842,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static - void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) + unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, DrawBufferMode[] bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91720,9 +89864,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) + fixed (DrawBufferMode* bufs_ptr = bufs) { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (DrawBufferMode*)bufs_ptr); } } #if DEBUG @@ -91732,7 +89876,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref DrawBufferMode bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91740,9 +89884,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = bufs) + fixed (DrawBufferMode* bufs_ptr = &bufs) { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (DrawBufferMode*)bufs_ptr); } } #if DEBUG @@ -91753,27 +89897,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static - void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) + unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, DrawBufferMode* bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); - } - } + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (DrawBufferMode*)bufs); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) + void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, DrawBufferMode[] bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91781,9 +89920,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) + fixed (DrawBufferMode* bufs_ptr = bufs) { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (DrawBufferMode*)bufs_ptr); } } #if DEBUG @@ -91794,28 +89933,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static - unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref DrawBufferMode bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); + unsafe + { + fixed (DrawBufferMode* bufs_ptr = &bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (DrawBufferMode*)bufs_ptr); + } + } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] public static - unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + void FramebufferReadBuffer(Int32 framebuffer, ReadBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (ReadBufferMode)mode); #if DEBUG } #endif @@ -91824,27 +89968,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] public static - void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) + void FramebufferReadBuffer(UInt32 framebuffer, ReadBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static - void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (ReadBufferMode)mode); #if DEBUG } #endif @@ -91852,13 +89982,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + Delegates.glFramebufferRenderbufferEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif @@ -91867,13 +89997,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + Delegates.glFramebufferRenderbufferEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif @@ -91881,13 +90011,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void FramebufferTexture1D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture1DEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -91896,13 +90026,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void FramebufferTexture1D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture1DEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -91910,13 +90040,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture2DEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -91925,13 +90055,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture2DEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -91939,13 +90069,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + void FramebufferTexture3D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glFramebufferTexture3DEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); #if DEBUG } #endif @@ -91954,13 +90084,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + void FramebufferTexture3D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glFramebufferTexture3DEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); #if DEBUG } #endif @@ -91968,13 +90098,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + void FramebufferTexture(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTextureEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -91983,13 +90113,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + void FramebufferTexture(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTextureEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -91997,13 +90127,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + void FramebufferTextureFace(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, TextureTarget face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glFramebufferTextureFaceEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face); #if DEBUG } #endif @@ -92012,13 +90142,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + void FramebufferTextureFace(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, TextureTarget face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glFramebufferTextureFaceEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face); #if DEBUG } #endif @@ -92026,13 +90156,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + Delegates.glFramebufferTextureLayerEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -92041,13 +90171,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void FramebufferTextureLayer(FramebufferTarget target, FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + Delegates.glFramebufferTextureLayerEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -92055,13 +90185,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenerateMipmapEXT")] public static - void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target) + void GenerateMipmap(GenerateMipmapTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenerateMipmapEXT((OpenTK.Graphics.GenerateMipmapTarget)target); + Delegates.glGenerateMipmapEXT((GenerateMipmapTarget)target); #if DEBUG } #endif @@ -92069,13 +90199,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateMultiTexMipmapEXT")] public static - void GenerateMultiTexMipmap(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target) + void GenerateMultiTexMipmap(TextureUnit texunit, TextureTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target); + Delegates.glGenerateMultiTexMipmapEXT((TextureUnit)texunit, (TextureTarget)target); #if DEBUG } #endif @@ -92083,13 +90213,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] public static - void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.TextureTarget target) + void GenerateTextureMipmap(Int32 texture, TextureTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (TextureTarget)target); #if DEBUG } #endif @@ -92098,13 +90228,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] public static - void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.TextureTarget target) + void GenerateTextureMipmap(UInt32 texture, TextureTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (TextureTarget)target); #if DEBUG } #endif @@ -92113,7 +90243,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static - void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) + unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92121,7 +90265,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* framebuffers_ptr = framebuffers) + fixed (Int32* framebuffers_ptr = framebuffers) { Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); } @@ -92131,21 +90275,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) @@ -92192,7 +90321,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static - unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) + unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92204,9 +90333,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static - void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) + void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92214,7 +90344,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* framebuffers_ptr = framebuffers) + fixed (UInt32* framebuffers_ptr = framebuffers) { Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); } @@ -92227,19 +90357,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] public static - void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) + unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif @@ -92265,21 +90389,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] public static void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) @@ -92301,21 +90410,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] public static @@ -92339,53 +90433,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] public static - Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components) + unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.ExtVertexShader)datatype, (OpenTK.Graphics.ExtVertexShader)storagetype, (OpenTK.Graphics.ExtVertexShader)range, (UInt32)components); + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] - public static - Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, Int32 components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.ExtVertexShader)datatype, (OpenTK.Graphics.ExtVertexShader)storagetype, (OpenTK.Graphics.ExtVertexShader)range, (UInt32)components); - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] public static - void GenTextures(Int32 n, [Out] UInt32[] textures) + void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92393,9 +90458,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) + fixed (UInt32* renderbuffers_ptr = renderbuffers) { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); } } #if DEBUG @@ -92403,6 +90468,35 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + public static + Int32 GenSymbol(ExtVertexShader datatype, ExtVertexShader storagetype, ExtVertexShader range, Int32 components) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenSymbolsEXT((ExtVertexShader)datatype, (ExtVertexShader)storagetype, (ExtVertexShader)range, (UInt32)components); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + public static + Int32 GenSymbol(ExtVertexShader datatype, ExtVertexShader storagetype, ExtVertexShader range, UInt32 components) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenSymbolsEXT((ExtVertexShader)datatype, (ExtVertexShader)storagetype, (ExtVertexShader)range, (UInt32)components); + #if DEBUG + } + #endif + } + /// /// Generate texture names @@ -92417,7 +90511,35 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + unsafe void GenTextures(Int32 n, [Out] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static void GenTextures(Int32 n, [Out] Int32[] textures) @@ -92452,17 +90574,22 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) + void GenTextures(Int32 n, [Out] out Int32 textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } #if DEBUG } #endif @@ -92482,7 +90609,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -92519,7 +90645,6 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -92549,10 +90674,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static - void GenTextures(Int32 n, [Out] out Int32 textures) + void GenTextures(Int32 n, [Out] UInt32[] textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92560,10 +90685,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (UInt32* textures_ptr = textures) { Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; } } #if DEBUG @@ -92603,37 +90727,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool* data) + unsafe void GetBooleanIndexed(ExtDrawBuffers2 target, Int32 index, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + Delegates.glGetBooleanIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (bool*)data); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool[] data) + void GetBooleanIndexed(ExtDrawBuffers2 target, Int32 index, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92643,7 +90751,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = data) { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + Delegates.glGetBooleanIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); } } #if DEBUG @@ -92653,7 +90761,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out bool data) + void GetBooleanIndexed(ExtDrawBuffers2 target, Int32 index, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92663,7 +90771,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + Delegates.glGetBooleanIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); data = *data_ptr; } } @@ -92675,28 +90783,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out bool data) + unsafe void GetBooleanIndexed(ExtDrawBuffers2 target, UInt32 index, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } + Delegates.glGetBooleanIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (bool*)data); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool[] data) + void GetBooleanIndexed(ExtDrawBuffers2 target, UInt32 index, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92706,7 +90808,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = data) { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + Delegates.glGetBooleanIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); } } #if DEBUG @@ -92714,260 +90816,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) + void GetBooleanIndexed(ExtDrawBuffers2 target, UInt32 index, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92975,9 +90827,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (bool* data_ptr = &data) { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glGetBooleanIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -92986,6 +90839,232 @@ namespace OpenTK.Graphics } + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(ColorTableTarget target, PixelFormat format, PixelType type, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableEXT((ColorTableTarget)target, (PixelFormat)format, (PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + /// /// Get color lookup table parameters /// @@ -93004,10 +91083,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93017,7 +91095,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvEXT((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -93045,17 +91123,16 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params) + unsafe void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); + Delegates.glGetColorTableParameterfvEXT((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Single*)@params); #if DEBUG } #endif @@ -93080,756 +91157,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single[] @params) + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93839,7 +91169,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvEXT((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -93849,34 +91179,661 @@ namespace OpenTK.Graphics /// - /// Get convolution parameters + /// Get color lookup table parameters /// /// /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. /// /// /// /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. /// /// /// /// - /// Pointer to storage for the parameters to be retrieved. + /// A pointer to an array where the values of the parameter will be stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32* @params) + unsafe void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); + Delegates.glGetColorTableParameterivEXT((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameterivEXT((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + void GetColorTableParameter(ColorTableTarget target, GetColorTableParameterPName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterivEXT((ColorTableTarget)target, (GetColorTableParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 lod, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, TextureTarget target, Int32 lod, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, TextureTarget target, Int32 lod, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -93901,10 +91858,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Int32 @params) + void GetConvolutionParameter(ExtConvolution target, ExtConvolution pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93912,9 +91868,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameterfvEXT((ExtConvolution)target, (ExtConvolution)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -93942,10 +91898,116 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + unsafe void GetConvolutionParameter(ExtConvolution target, ExtConvolution pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfvEXT((ExtConvolution)target, (ExtConvolution)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + void GetConvolutionParameter(ExtConvolution target, ExtConvolution pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfvEXT((ExtConvolution)target, (ExtConvolution)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32[] @params) + unsafe void GetConvolutionParameter(ExtConvolution target, ExtConvolution pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterivEXT((ExtConvolution)target, (ExtConvolution)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(ExtConvolution target, ExtConvolution pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93955,7 +92017,47 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); + Delegates.glGetConvolutionParameterivEXT((ExtConvolution)target, (ExtConvolution)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(ExtConvolution target, ExtConvolution pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterivEXT((ExtConvolution)target, (ExtConvolution)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -93966,20 +92068,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double data) + unsafe void GetDoubleIndexed(ExtDirectStateAccess target, Int32 index, [Out] Double* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } + Delegates.glGetDoubleIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Double*)data); #if DEBUG } #endif @@ -93987,7 +92082,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] data) + void GetDoubleIndexed(ExtDirectStateAccess target, Int32 index, [Out] Double[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93997,7 +92092,7 @@ namespace OpenTK.Graphics { fixed (Double* data_ptr = data) { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + Delegates.glGetDoubleIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); } } #if DEBUG @@ -94005,60 +92100,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - unsafe void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - unsafe void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Double data) + void GetDoubleIndexed(ExtDirectStateAccess target, Int32 index, [Out] out Double data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94068,7 +92112,7 @@ namespace OpenTK.Graphics { fixed (Double* data_ptr = &data) { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + Delegates.glGetDoubleIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); data = *data_ptr; } } @@ -94078,9 +92122,66 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + unsafe void GetDoubleIndexed(ExtDirectStateAccess target, UInt32 index, [Out] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoubleIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(ExtDirectStateAccess target, UInt32 index, [Out] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoubleIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(ExtDirectStateAccess target, UInt32 index, [Out] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoubleIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single data) + void GetFloatIndexed(ExtDirectStateAccess target, Int32 index, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94090,7 +92191,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = &data) { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + Delegates.glGetFloatIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); data = *data_ptr; } } @@ -94102,7 +92203,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] data) + unsafe void GetFloatIndexed(ExtDirectStateAccess target, Int32 index, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(ExtDirectStateAccess target, Int32 index, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94112,7 +92227,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = data) { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + Delegates.glGetFloatIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); } } #if DEBUG @@ -94120,9 +92235,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single data) + void GetFloatIndexed(ExtDirectStateAccess target, UInt32 index, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94132,7 +92248,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = &data) { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + Delegates.glGetFloatIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); data = *data_ptr; } } @@ -94144,13 +92260,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - unsafe void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* data) + unsafe void GetFloatIndexed(ExtDirectStateAccess target, UInt32 index, [Out] Single* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + Delegates.glGetFloatIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Single*)data); #if DEBUG } #endif @@ -94159,21 +92275,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - unsafe void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] data) + void GetFloatIndexed(ExtDirectStateAccess target, UInt32 index, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94183,7 +92285,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = data) { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + Delegates.glGetFloatIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); } } #if DEBUG @@ -94220,9 +92322,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) + unsafe void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameterivEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94232,7 +92349,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetFramebufferAttachmentParameterivEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (FramebufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -94240,24 +92357,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) + void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94267,70 +92369,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetFramebufferAttachmentParameterivEXT((FramebufferTarget)target, (FramebufferAttachment)attachment, (FramebufferParameterName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -94342,37 +92381,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] public static - unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + unsafe void GetFramebufferParameter(Int32 framebuffer, ExtDirectStateAccess pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (ExtDirectStateAccess)pname, (Int32*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] public static - unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void GetFramebufferParameter(Int32 framebuffer, ExtDirectStateAccess pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94382,7 +92405,86 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(Int32 framebuffer, ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + unsafe void GetFramebufferParameter(UInt32 framebuffer, ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -94419,10 +92521,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + void GetHistogram(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] ref T4 values) where T4 : struct { #if DEBUG @@ -94432,7 +92533,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -94472,10 +92573,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + void GetHistogram(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,,] values) where T4 : struct { #if DEBUG @@ -94485,7 +92585,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -94525,10 +92625,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + void GetHistogram(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,] values) where T4 : struct { #if DEBUG @@ -94538,7 +92637,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetHistogramEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -94578,16 +92677,24 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + void GetHistogram(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[] values) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } #if DEBUG } #endif @@ -94622,25 +92729,15 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct + void GetHistogram(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [Out] IntPtr values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } + Delegates.glGetHistogramEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values); #if DEBUG } #endif @@ -94665,10 +92762,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) + void GetHistogramParameter(ExtHistogram target, ExtHistogram pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94678,7 +92774,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetHistogramParameterfvEXT((ExtHistogram)target, (ExtHistogram)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -94706,10 +92802,43 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) + unsafe void GetHistogramParameter(ExtHistogram target, ExtHistogram pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfvEXT((ExtHistogram)target, (ExtHistogram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(ExtHistogram target, ExtHistogram pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94719,7 +92848,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetHistogramParameterfvEXT((ExtHistogram)target, (ExtHistogram)pname, (Single*)@params_ptr); } } #if DEBUG @@ -94746,93 +92875,16 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params) + unsafe void GetHistogramParameter(ExtHistogram target, ExtHistogram pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); + Delegates.glGetHistogramParameterivEXT((ExtHistogram)target, (ExtHistogram)pname, (Int32*)@params); #if DEBUG } #endif @@ -94857,10 +92909,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) + void GetHistogramParameter(ExtHistogram target, ExtHistogram pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94870,7 +92921,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + Delegates.glGetHistogramParameterivEXT((ExtHistogram)target, (ExtHistogram)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -94878,9 +92929,28 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out Int32 data) + void GetHistogramParameter(ExtHistogram target, ExtHistogram pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94888,10 +92958,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* data_ptr = &data) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; + Delegates.glGetHistogramParameterivEXT((ExtHistogram)target, (ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -94899,9 +92969,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32[] data) + unsafe void GetIntegerIndexed(ExtDrawBuffers2 target, Int32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(ExtDrawBuffers2 target, Int32 index, [Out] Int32[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94911,7 +92996,7 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = data) { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + Delegates.glGetIntegerIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); } } #if DEBUG @@ -94919,40 +93004,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out Int32 data) + void GetIntegerIndexed(ExtDrawBuffers2 target, Int32 index, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94962,7 +93016,7 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = &data) { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + Delegates.glGetIntegerIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); data = *data_ptr; } } @@ -94974,7 +93028,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32[] data) + unsafe void GetIntegerIndexed(ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(ExtDrawBuffers2 target, UInt32 index, [Out] Int32[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94984,7 +93053,29 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = data) { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + Delegates.glGetIntegerIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(ExtDrawBuffers2 target, UInt32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -94995,20 +93086,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + unsafe void GetInvariantBoolean(Int32 id, ExtVertexShader value, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data); #if DEBUG } #endif @@ -95016,7 +93100,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + void GetInvariantBoolean(Int32 id, ExtVertexShader value, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95026,7 +93110,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = data) { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); } } #if DEBUG @@ -95036,7 +93120,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetInvariantBoolean(Int32 id, ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95046,7 +93130,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); data = *data_ptr; } } @@ -95058,13 +93142,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + unsafe void GetInvariantBoolean(UInt32 id, ExtVertexShader value, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data); #if DEBUG } #endif @@ -95073,22 +93157,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + void GetInvariantBoolean(UInt32 id, ExtVertexShader value, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95098,27 +93167,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = data) { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); } } #if DEBUG @@ -95127,217 +93176,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetInvariantBoolean(UInt32 id, ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95347,7 +93188,235 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + unsafe void GetInvariantFloat(Int32 id, ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(UInt32 id, ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + unsafe void GetInvariantFloat(UInt32 id, ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(UInt32 id, ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(Int32 id, ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(Int32 id, ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(Int32 id, ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(UInt32 id, ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); data = *data_ptr; } } @@ -95359,28 +93428,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] public static - unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + unsafe void GetLocalConstantBoolean(Int32 id, ExtVertexShader value, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data); #if DEBUG } #endif @@ -95388,7 +93442,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetLocalConstantBoolean(Int32 id, ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95398,7 +93472,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); data = *data_ptr; } } @@ -95410,27 +93484,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + unsafe void GetLocalConstantBoolean(UInt32 id, ExtVertexShader value, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + void GetLocalConstantBoolean(UInt32 id, ExtVertexShader value, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95440,27 +93509,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = data) { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); } } #if DEBUG @@ -95469,9 +93518,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + void GetLocalConstantBoolean(UInt32 id, ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95479,9 +93528,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* data_ptr = data) + fixed (bool* data_ptr = &data) { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -95489,10 +93539,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + void GetLocalConstantFloat(Int32 id, ExtVertexShader value, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95502,7 +93551,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = &data) { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); data = *data_ptr; } } @@ -95514,13 +93563,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] public static - unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + unsafe void GetLocalConstantFloat(Int32 id, ExtVertexShader value, [Out] Single* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(Int32 id, ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + } + } #if DEBUG } #endif @@ -95529,21 +93598,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] public static - unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + void GetLocalConstantFloat(UInt32 id, ExtVertexShader value, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95553,7 +93608,99 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = &data) { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(UInt32 id, ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(UInt32 id, ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(Int32 id, ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); data = *data_ptr; } } @@ -95565,7 +93712,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + unsafe void GetLocalConstantInteger(UInt32 id, ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(UInt32 id, ExtVertexShader value, [Out] Int32[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95575,7 +93737,7 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = data) { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); } } #if DEBUG @@ -95586,36 +93748,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] public static - unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + void GetLocalConstantInteger(UInt32 id, ExtVertexShader value, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95625,49 +93758,7 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = &data) { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); data = *data_ptr; } } @@ -95705,10 +93796,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + void GetMinmax(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] ref T4 values) where T4 : struct { #if DEBUG @@ -95718,7 +93808,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -95758,10 +93848,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + void GetMinmax(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,,] values) where T4 : struct { #if DEBUG @@ -95771,7 +93860,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -95811,10 +93900,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + void GetMinmax(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[,] values) where T4 : struct { #if DEBUG @@ -95824,7 +93912,7 @@ namespace OpenTK.Graphics GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + Delegates.glGetMinmaxEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); } finally { @@ -95864,16 +93952,24 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + void GetMinmax(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [In, Out] T4[] values) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } #if DEBUG } #endif @@ -95908,25 +94004,15 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct + void GetMinmax(ExtHistogram target, bool reset, PixelFormat format, PixelType type, [Out] IntPtr values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } + Delegates.glGetMinmaxEXT((ExtHistogram)target, (bool)reset, (PixelFormat)format, (PixelType)type, (IntPtr)values); #if DEBUG } #endif @@ -95951,50 +94037,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) + void GetMinmaxParameter(ExtHistogram target, ExtHistogram pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96004,7 +94049,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + Delegates.glGetMinmaxParameterfvEXT((ExtHistogram)target, (ExtHistogram)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -96032,17 +94077,16 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) + unsafe void GetMinmaxParameter(ExtHistogram target, ExtHistogram pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); + Delegates.glGetMinmaxParameterfvEXT((ExtHistogram)target, (ExtHistogram)pname, (Single*)@params); #if DEBUG } #endif @@ -96067,45 +94111,9 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) + void GetMinmaxParameter(ExtHistogram target, ExtHistogram pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96113,10 +94121,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetMinmaxParameterfvEXT((ExtHistogram)target, (ExtHistogram)pname, (Single*)@params_ptr); } } #if DEBUG @@ -96143,10 +94150,43 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) + unsafe void GetMinmaxParameter(ExtHistogram target, ExtHistogram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterivEXT((ExtHistogram)target, (ExtHistogram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(ExtHistogram target, ExtHistogram pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96156,7 +94196,47 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + Delegates.glGetMinmaxParameterivEXT((ExtHistogram)target, (ExtHistogram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(ExtHistogram target, ExtHistogram pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterivEXT((ExtHistogram)target, (ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -96166,27 +94246,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) + void GetMultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96196,7 +94256,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + Delegates.glGetMultiTexEnvfvEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -96208,13 +94268,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) + unsafe void GetMultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + Delegates.glGetMultiTexEnvfvEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + void GetMultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexEnvfvEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -96223,13 +94303,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params) + unsafe void GetMultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); + Delegates.glGetMultiTexEnvivEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -96237,7 +94317,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + void GetMultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96247,7 +94327,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + Delegates.glGetMultiTexEnvivEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96257,7 +94337,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) + void GetMultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96267,28 +94347,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glGetMultiTexEnvivEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -96300,13 +94359,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params) + unsafe void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); + Delegates.glGetMultiTexGendvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params); #if DEBUG } #endif @@ -96314,7 +94373,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) + void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96324,7 +94383,28 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glGetMultiTexGendvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetMultiTexGendvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -96334,7 +94414,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) + void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96344,7 +94424,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + Delegates.glGetMultiTexGenfvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -96356,13 +94436,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) + unsafe void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); + Delegates.glGetMultiTexGenfvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -96370,7 +94450,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) + void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96380,7 +94460,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + Delegates.glGetMultiTexGenfvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -96391,13 +94471,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) + unsafe void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + Delegates.glGetMultiTexGenivEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -96405,28 +94485,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) + void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96436,7 +94495,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + Delegates.glGetMultiTexGenivEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96444,115 +94503,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + void GetMultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96560,9 +94513,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + Delegates.glGetMultiTexGenivEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -96570,9 +94524,115 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(TextureUnit texunit, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexImageEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + void GetMultiTexLevelParameter(TextureUnit texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96582,7 +94642,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + Delegates.glGetMultiTexLevelParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -96594,113 +94654,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + unsafe void GetMultiTexLevelParameter(TextureUnit texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + Delegates.glGetMultiTexLevelParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + void GetMultiTexLevelParameter(TextureUnit texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96710,7 +94678,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + Delegates.glGetMultiTexLevelParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -96719,44 +94687,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] public static - unsafe void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + unsafe void GetMultiTexLevelParameter(TextureUnit texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + Delegates.glGetMultiTexLevelParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetMultiTexLevelParameter(TextureUnit texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96766,7 +94713,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetMultiTexLevelParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96774,10 +94721,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + void GetMultiTexLevelParameter(TextureUnit texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96785,9 +94731,122 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetMultiTexLevelParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + void GetMultiTexParameter(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + unsafe void GetMultiTexParameter(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + void GetMultiTexParameter(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + unsafe void GetMultiTexParameterI(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterIivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + void GetMultiTexParameterI(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterIivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + void GetMultiTexParameterI(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterIivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -96798,22 +94857,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] public static - unsafe void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + void GetMultiTexParameterI(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96823,7 +94867,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetMultiTexParameterIuivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -96832,9 +94876,25 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + unsafe void GetMultiTexParameterI(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterIuivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + void GetMultiTexParameterI(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96842,10 +94902,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt32* @params_ptr = @params) { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetMultiTexParameterIuivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -96856,13 +94915,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + unsafe void GetMultiTexParameter(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + Delegates.glGetMultiTexParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -96870,7 +94929,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetMultiTexParameter(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96880,7 +94939,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetMultiTexParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96888,24 +94947,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] public static - unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void GetMultiTexParameter(TextureUnit texunit, TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96915,7 +94959,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetMultiTexParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -96927,7 +94971,41 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + unsafe void GetNamedBufferParameter(Int32 buffer, ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(Int32 buffer, ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(Int32 buffer, ExtDirectStateAccess pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96937,7 +95015,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -96949,27 +95027,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + unsafe void GetNamedBufferParameter(UInt32 buffer, ExtDirectStateAccess pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (Int32*)@params); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void GetNamedBufferParameter(UInt32 buffer, ExtDirectStateAccess pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96979,7 +95052,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96990,13 +95063,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + void GetNamedBufferParameter(UInt32 buffer, ExtDirectStateAccess pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -97004,7 +95084,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + void GetNamedBufferPointer(Int32 buffer, ExtDirectStateAccess pname, [In, Out] ref T2 @params) where T2 : struct { #if DEBUG @@ -97014,7 +95094,114 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, ExtDirectStateAccess pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, ExtDirectStateAccess pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, ExtDirectStateAccess pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, ExtDirectStateAccess pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -97028,7 +95215,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) + void GetNamedBufferPointer(UInt32 buffer, ExtDirectStateAccess pname, [In, Out] T2[,,] @params) where T2 : struct { #if DEBUG @@ -97038,7 +95225,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -97052,7 +95239,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + void GetNamedBufferPointer(UInt32 buffer, ExtDirectStateAccess pname, [In, Out] T2[,] @params) where T2 : struct { #if DEBUG @@ -97062,7 +95249,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -97076,36 +95263,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) + void GetNamedBufferPointer(UInt32 buffer, ExtDirectStateAccess pname, [In, Out] T2[] @params) where T2 : struct { #if DEBUG @@ -97115,76 +95273,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -97198,22 +95287,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) - where T2 : struct + void GetNamedBufferPointer(UInt32 buffer, ExtDirectStateAccess pname, [Out] IntPtr @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (ExtDirectStateAccess)pname, (IntPtr)@params); #if DEBUG } #endif @@ -97242,83 +95322,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) @@ -97342,30 +95345,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) @@ -97412,6 +95391,68 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static @@ -97436,9 +95477,63 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, FramebufferAttachment attachment, ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, FramebufferAttachment attachment, ExtDirectStateAccess pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97448,7 +95543,28 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, FramebufferAttachment attachment, ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -97459,7 +95575,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, FramebufferAttachment attachment, ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, FramebufferAttachment attachment, ExtDirectStateAccess pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97469,7 +95600,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -97480,7 +95611,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, FramebufferAttachment attachment, ExtDirectStateAccess pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97490,116 +95621,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -97611,13 +95633,71 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] public static - unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + unsafe void GetNamedProgram(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glGetNamedProgramivEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -97626,7 +95706,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] @params) + unsafe void GetNamedProgramLocalParameter(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97636,7 +95730,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -97646,7 +95740,44 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] @params) + void GetNamedProgramLocalParameter(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97656,7 +95787,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -97667,37 +95798,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double @params) + void GetNamedProgramLocalParameter(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97707,28 +95808,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -97739,7 +95819,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single @params) + void GetNamedProgramLocalParameter(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97749,7 +95829,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -97761,37 +95841,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params) + unsafe void GetNamedProgramLocalParameter(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] @params) + void GetNamedProgramLocalParameter(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97801,27 +95865,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -97832,7 +95876,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single @params) + void GetNamedProgramLocalParameter(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97842,7 +95886,99 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, ExtDirectStateAccess target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -97854,13 +95990,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params) + unsafe void GetNamedProgramLocalParameterI(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif @@ -97869,43 +96005,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] public static - unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32[] @params) + void GetNamedProgramLocalParameterI(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97915,27 +96015,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -97946,7 +96026,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Int32 @params) + void GetNamedProgramLocalParameterI(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97956,7 +96036,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -97968,22 +96048,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out UInt32 @params) + void GetNamedProgramLocalParameterI(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97993,7 +96058,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -98005,7 +96070,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32[] @params) + unsafe void GetNamedProgramLocalParameterI(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, ExtDirectStateAccess target, UInt32 index, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98015,7 +96095,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -98025,7 +96105,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + void GetNamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] ref T3 @string) where T3 : struct { #if DEBUG @@ -98035,7 +96115,114 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -98049,36 +96236,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + void GetNamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] T3[,,] @string) where T3 : struct { #if DEBUG @@ -98088,30 +96246,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -98125,7 +96260,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + void GetNamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] T3[,] @string) where T3 : struct { #if DEBUG @@ -98135,30 +96270,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -98172,7 +96284,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) + void GetNamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [In, Out] T3[] @string) where T3 : struct { #if DEBUG @@ -98182,30 +96294,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -98219,22 +96308,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) - where T3 : struct + void GetNamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess pname, [Out] IntPtr @string) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } + Delegates.glGetNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)pname, (IntPtr)@string); #if DEBUG } #endif @@ -98243,35 +96323,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static - unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, RenderbufferParameterName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (RenderbufferParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -98279,29 +96337,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + void GetNamedRenderbufferParameter(Int32 renderbuffer, RenderbufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98311,7 +96347,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (RenderbufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -98321,7 +96357,44 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + void GetNamedRenderbufferParameter(Int32 renderbuffer, RenderbufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(UInt32 renderbuffer, RenderbufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98331,7 +96404,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (RenderbufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -98342,22 +96415,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static - unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + void GetNamedRenderbufferParameter(UInt32 renderbuffer, RenderbufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] ref T2 data) + void GetPointerIndexed(ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) where T2 : struct { #if DEBUG @@ -98367,7 +96446,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -98380,36 +96459,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) + void GetPointerIndexed(ExtDirectStateAccess target, Int32 index, [In, Out] T2[,,] data) where T2 : struct { #if DEBUG @@ -98419,7 +96469,91 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(ExtDirectStateAccess target, Int32 index, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(ExtDirectStateAccess target, Int32 index, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(ExtDirectStateAccess target, UInt32 index, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -98433,7 +96567,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) + void GetPointerIndexed(ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) where T2 : struct { #if DEBUG @@ -98443,30 +96577,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -98480,7 +96591,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) + void GetPointerIndexed(ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) where T2 : struct { #if DEBUG @@ -98490,30 +96601,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -98527,7 +96615,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[] data) + void GetPointerIndexed(ExtDirectStateAccess target, UInt32 index, [In, Out] T2[] data) where T2 : struct { #if DEBUG @@ -98537,7 +96625,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -98548,24 +96636,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[] data) - where T2 : struct + void GetPointerIndexed(ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glGetPointerIndexedvEXT((ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); #if DEBUG } #endif @@ -98573,21 +96653,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + void GetPointer(GetPointervPName pname, [In, Out] ref T1 @params) where T1 : struct { #if DEBUG @@ -98597,7 +96663,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetPointervEXT((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -98610,7 +96676,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) + void GetPointer(GetPointervPName pname, [In, Out] T1[,,] @params) where T1 : struct { #if DEBUG @@ -98620,7 +96686,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetPointervEXT((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -98633,7 +96699,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) + void GetPointer(GetPointervPName pname, [In, Out] T1[,] @params) where T1 : struct { #if DEBUG @@ -98643,7 +96709,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetPointervEXT((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -98656,7 +96722,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) + void GetPointer(GetPointervPName pname, [In, Out] T1[] @params) where T1 : struct { #if DEBUG @@ -98666,7 +96732,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glGetPointervEXT((GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -98677,9 +96743,58 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(GetPointervPName pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointervEXT((GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + unsafe void GetQueryObjecti64(Int32 id, ExtTimerQuery pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (ExtTimerQuery)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObjecti64(Int32 id, ExtTimerQuery pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (ExtTimerQuery)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) + void GetQueryObjecti64(Int32 id, ExtTimerQuery pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98689,7 +96804,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = &@params) { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (ExtTimerQuery)pname, (Int64*)@params_ptr); @params = *@params_ptr; } } @@ -98701,13 +96816,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] public static - unsafe void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) + unsafe void GetQueryObjecti64(UInt32 id, ExtTimerQuery pname, [Out] Int64* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (ExtTimerQuery)pname, (Int64*)@params); #if DEBUG } #endif @@ -98716,22 +96831,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] public static - unsafe void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + void GetQueryObjecti64(UInt32 id, ExtTimerQuery pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98741,27 +96841,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = @params) { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (ExtTimerQuery)pname, (Int64*)@params_ptr); } } #if DEBUG @@ -98772,7 +96852,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) + void GetQueryObjecti64(UInt32 id, ExtTimerQuery pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98782,28 +96862,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = &@params) { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (ExtTimerQuery)pname, (Int64*)@params_ptr); @params = *@params_ptr; } } @@ -98815,49 +96874,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] public static - unsafe void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) + unsafe void GetQueryObjectui64(Int32 id, ExtTimerQuery pname, [Out] Int64* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (ExtTimerQuery)pname, (UInt64*)@params); #if DEBUG } #endif @@ -98865,7 +96888,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + void GetQueryObjectui64(Int32 id, ExtTimerQuery pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98875,7 +96898,28 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = @params) { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(Int32 id, ExtTimerQuery pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (ExtTimerQuery)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -98886,7 +96930,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out UInt64 @params) + void GetQueryObjectui64(UInt32 id, ExtTimerQuery pname, [Out] out UInt64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98896,7 +96940,7 @@ namespace OpenTK.Graphics { fixed (UInt64* @params_ptr = &@params) { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (ExtTimerQuery)pname, (UInt64*)@params_ptr); @params = *@params_ptr; } } @@ -98905,9 +96949,60 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + unsafe void GetQueryObjectui64(UInt32 id, ExtTimerQuery pname, [Out] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (ExtTimerQuery)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(UInt32 id, ExtTimerQuery pname, [Out] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + unsafe void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameterivEXT((RenderbufferTarget)target, (RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98917,7 +97012,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetRenderbufferParameterivEXT((RenderbufferTarget)target, (RenderbufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -98925,24 +97020,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + void GetRenderbufferParameter(RenderbufferTarget target, RenderbufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98952,7 +97032,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetRenderbufferParameterivEXT((RenderbufferTarget)target, (RenderbufferParameterName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -98995,352 +97075,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct @@ -99354,7 +97091,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99401,10 +97138,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct @@ -99418,7 +97154,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99465,10 +97201,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct @@ -99482,7 +97217,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99529,10 +97264,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) where T3 : struct where T4 : struct where T5 : struct @@ -99546,7 +97280,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99593,10 +97327,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) where T4 : struct where T5 : struct { @@ -99608,7 +97341,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99654,10 +97387,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) where T4 : struct where T5 : struct { @@ -99669,7 +97401,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99715,10 +97447,9 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) where T4 : struct where T5 : struct { @@ -99730,7 +97461,7 @@ namespace OpenTK.Graphics GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { @@ -99742,16 +97473,352 @@ namespace OpenTK.Graphics #endif } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(ExtConvolution target, PixelFormat format, PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilterEXT((ExtConvolution)target, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + unsafe void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + Delegates.glGetTexParameterIivEXT((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -99759,7 +97826,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99769,7 +97836,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexParameterIivEXT((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -99779,7 +97846,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99789,7 +97856,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTexParameterIivEXT((TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -99801,43 +97868,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99847,7 +97878,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetTexParameterIuivEXT((TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -99857,719 +97888,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) - where T5 : struct + unsafe void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glGetTexParameterIuivEXT((TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - unsafe void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100579,7 +97915,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetTexParameterIuivEXT((TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -100587,9 +97923,375 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + void GetTextureImage(Int32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, TextureTarget target, Int32 level, PixelFormat format, PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(Int32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(Int32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100599,7 +98301,407 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + unsafe void GetTextureParameter(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + unsafe void GetTextureParameter(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + unsafe void GetTextureParameterI(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + unsafe void GetTextureParameterI(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + void GetTextureParameterI(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + unsafe void GetTextureParameterI(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + void GetTextureParameterI(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + unsafe void GetTextureParameter(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(Int32 texture, TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -100611,7 +98713,43 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + unsafe void GetTextureParameter(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(UInt32 texture, TextureTarget target, GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100621,7 +98759,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (GetTextureParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -100630,87 +98768,16 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ExtTransformFeedback*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -100718,7 +98785,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ExtTransformFeedback type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100728,9 +98795,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) + fixed (ExtTransformFeedback* type_ptr = &type) { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -100744,7 +98811,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (ExtTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out ExtTransformFeedback type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100754,9 +98836,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) + fixed (ExtTransformFeedback* type_ptr = &type) { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -100767,21 +98849,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] public static Int32 GetUniformBufferSize(Int32 program, Int32 location) @@ -100859,7 +98926,79 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) @@ -100900,7 +99039,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -100942,42 +99080,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -101012,7 +99114,6 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -101034,63 +99135,16 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + unsafe void GetVariantBoolean(Int32 id, ExtVertexShader value, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } + Delegates.glGetVariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data); #if DEBUG } #endif @@ -101098,7 +99152,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + void GetVariantBoolean(Int32 id, ExtVertexShader value, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101108,7 +99162,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = data) { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + Delegates.glGetVariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); } } #if DEBUG @@ -101116,60 +99170,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetVariantBoolean(Int32 id, ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101179,7 +99182,7 @@ namespace OpenTK.Graphics { fixed (bool* data_ptr = &data) { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + Delegates.glGetVariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); data = *data_ptr; } } @@ -101189,9 +99192,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static - void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + unsafe void GetVariantBoolean(UInt32 id, ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, ExtVertexShader value, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101199,9 +99217,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* data_ptr = data) + fixed (bool* data_ptr = data) { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetVariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); } } #if DEBUG @@ -101210,9 +99228,30 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] public static - void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + void GetVariantFloat(Int32 id, ExtVertexShader value, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101222,7 +99261,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = &data) { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetVariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); data = *data_ptr; } } @@ -101231,9 +99270,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + unsafe void GetVariantFloat(Int32 id, ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, ExtVertexShader value, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101243,7 +99297,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = data) { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetVariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); } } #if DEBUG @@ -101251,9 +99305,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + void GetVariantFloat(UInt32 id, ExtVertexShader value, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101263,7 +99318,7 @@ namespace OpenTK.Graphics { fixed (Single* data_ptr = &data) { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + Delegates.glGetVariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); data = *data_ptr; } } @@ -101275,13 +99330,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] public static - unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + unsafe void GetVariantFloat(UInt32 id, ExtVertexShader value, [Out] Single* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + Delegates.glGetVariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data); #if DEBUG } #endif @@ -101290,36 +99345,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] public static - unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + void GetVariantFloat(UInt32 id, ExtVertexShader value, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101327,9 +99353,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* data_ptr = data) + fixed (Single* data_ptr = data) { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + Delegates.glGetVariantFloatvEXT((UInt32)id, (ExtVertexShader)value, (Single*)data_ptr); } } #if DEBUG @@ -101340,7 +99366,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + unsafe void GetVariantInteger(Int32 id, ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, ExtVertexShader value, [Out] Int32[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101350,7 +99390,7 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = data) { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + Delegates.glGetVariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); } } #if DEBUG @@ -101360,7 +99400,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + void GetVariantInteger(Int32 id, ExtVertexShader value, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101370,7 +99410,7 @@ namespace OpenTK.Graphics { fixed (Int32* data_ptr = &data) { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + Delegates.glGetVariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); data = *data_ptr; } } @@ -101382,7 +99422,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + unsafe void GetVariantInteger(UInt32 id, ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(UInt32 id, ExtVertexShader value, [Out] Int32[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101390,10 +99445,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* data_ptr = &data) + fixed (Int32* data_ptr = data) { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; + Delegates.glGetVariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); } } #if DEBUG @@ -101404,239 +99458,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] public static - unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) + void GetVariantInteger(UInt32 id, ExtVertexShader value, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101644,10 +99466,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* data_ptr = &data) { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetVariantIntegervEXT((UInt32)id, (ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -101655,9 +99477,241 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, ExtVertexShader value, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, ExtVertexShader value, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, ExtVertexShader value, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, ExtVertexShader value, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantPointervEXT((UInt32)id, (ExtVertexShader)value, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) + unsafe void GetVertexAttribI(Int32 index, NvVertexProgram4 pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIivEXT((UInt32)index, (NvVertexProgram4)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + void GetVertexAttribI(Int32 index, NvVertexProgram4 pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101667,7 +99721,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribIivEXT((UInt32)index, (NvVertexProgram4)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -101679,13 +99733,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params) + unsafe void GetVertexAttribI(UInt32 index, NvVertexProgram4 pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params); + Delegates.glGetVertexAttribIivEXT((UInt32)index, (NvVertexProgram4)pname, (Int32*)@params); #if DEBUG } #endif @@ -101694,13 +99748,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params) + void GetVertexAttribI(UInt32 index, NvVertexProgram4 pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (NvVertexProgram4)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -101709,7 +99770,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out UInt32 @params) + void GetVertexAttribI(UInt32 index, NvVertexProgram4 pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101719,7 +99780,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params_ptr); + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (NvVertexProgram4)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -101731,13 +99792,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] UInt32* @params) + unsafe void GetVertexAttribI(UInt32 index, NvVertexProgram4 pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params); + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (NvVertexProgram4)pname, (UInt32*)@params); #if DEBUG } #endif @@ -101767,16 +99828,15 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glHistogramEXT")] public static - void Histogram(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + void Histogram(ExtHistogram target, Int32 width, PixelInternalFormat internalformat, bool sink) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + Delegates.glHistogramEXT((ExtHistogram)target, (Int32)width, (PixelInternalFormat)internalformat, (bool)sink); #if DEBUG } #endif @@ -101784,13 +99844,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtIndexFunc", Version = "1.1", EntryPoint = "glIndexFuncEXT")] public static - void IndexFunc(OpenTK.Graphics.ExtIndexFunc func, Single @ref) + void IndexFunc(ExtIndexFunc func, Single @ref) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glIndexFuncEXT((OpenTK.Graphics.ExtIndexFunc)func, (Single)@ref); + Delegates.glIndexFuncEXT((ExtIndexFunc)func, (Single)@ref); #if DEBUG } #endif @@ -101798,13 +99858,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtIndexMaterial", Version = "1.1", EntryPoint = "glIndexMaterialEXT")] public static - void IndexMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ExtIndexMaterial mode) + void IndexMaterial(MaterialFace face, ExtIndexMaterial mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glIndexMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ExtIndexMaterial)mode); + Delegates.glIndexMaterialEXT((MaterialFace)face, (ExtIndexMaterial)mode); #if DEBUG } #endif @@ -101829,10 +99889,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + void IndexPointer(IndexPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -101842,7 +99901,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointerEXT((IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -101872,10 +99931,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) + void IndexPointer(IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -101885,7 +99943,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointerEXT((IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -101915,44 +99973,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) + void IndexPointer(IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -101962,7 +99985,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointerEXT((IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -101992,10 +100015,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + void IndexPointer(IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -102005,7 +100027,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glIndexPointerEXT((IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -102016,16 +100038,34 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void InsertComponent(UInt32 res, UInt32 src, UInt32 num) + void IndexPointer(IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + Delegates.glIndexPointerEXT((IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); #if DEBUG } #endif @@ -102046,15 +100086,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] public static - bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + void InsertComponent(UInt32 res, UInt32 src, UInt32 num) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); #if DEBUG } #endif @@ -102062,13 +100102,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] public static - bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + bool IsEnabledIndexed(ExtDrawBuffers2 target, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + return Delegates.glIsEnabledIndexedEXT((ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((ExtDrawBuffers2)target, (UInt32)index); #if DEBUG } #endif @@ -102103,6 +100158,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] public static @@ -102118,15 +100187,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] public static - bool IsRenderbuffer(Int32 renderbuffer) + bool IsTexture(Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + return Delegates.glIsTextureEXT((UInt32)texture); #if DEBUG } #endif @@ -102141,7 +100219,6 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a texture. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] public static @@ -102157,25 +100234,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Determine if a name corresponds to a texture - /// - /// - /// - /// Specifies a value that may be the name of a texture. - /// - /// - - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] public static - bool IsTexture(Int32 texture) + bool IsVariantEnabled(Int32 id, ExtVertexShader cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsTextureEXT((UInt32)texture); + return Delegates.glIsVariantEnabledEXT((UInt32)id, (ExtVertexShader)cap); #if DEBUG } #endif @@ -102184,27 +100251,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] public static - bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.ExtVertexShader cap) + bool IsVariantEnabled(UInt32 id, ExtVertexShader cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)cap); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] - public static - bool IsVariantEnabled(Int32 id, OpenTK.Graphics.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)cap); + return Delegates.glIsVariantEnabledEXT((UInt32)id, (ExtVertexShader)cap); #if DEBUG } #endif @@ -102227,13 +100280,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMapNamedBufferEXT")] public static - unsafe IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess access) + unsafe IntPtr MapNamedBuffer(Int32 buffer, ExtDirectStateAccess access) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)access); + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (ExtDirectStateAccess)access); #if DEBUG } #endif @@ -102242,13 +100295,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMapNamedBufferEXT")] public static - unsafe IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess access) + unsafe IntPtr MapNamedBuffer(UInt32 buffer, ExtDirectStateAccess access) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)access); + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (ExtDirectStateAccess)access); #if DEBUG } #endif @@ -102256,13 +100309,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixFrustumEXT")] public static - void MatrixFrustum(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + void MatrixFrustum(MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixFrustumEXT((OpenTK.Graphics.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + Delegates.glMatrixFrustumEXT((MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); #if DEBUG } #endif @@ -102271,13 +100324,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] public static - unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double* m) + unsafe void MatrixLoad(MatrixMode mode, Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + Delegates.glMatrixLoaddEXT((MatrixMode)mode, (Double*)m); #if DEBUG } #endif @@ -102285,27 +100338,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double[] m) + void MatrixLoad(MatrixMode mode, Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102315,7 +100348,47 @@ namespace OpenTK.Graphics { fixed (Double* m_ptr = m) { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + Delegates.glMatrixLoaddEXT((MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + void MatrixLoad(MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixLoaddEXT((MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + void MatrixLoad(MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixLoadfEXT((MatrixMode)mode, (Single*)m_ptr); } } #if DEBUG @@ -102326,13 +100399,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] public static - unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single* m) + unsafe void MatrixLoad(MatrixMode mode, Single* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + Delegates.glMatrixLoadfEXT((MatrixMode)mode, (Single*)m); #if DEBUG } #endif @@ -102340,27 +100413,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single[] m) + void MatrixLoad(MatrixMode mode, Single[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102370,7 +100423,7 @@ namespace OpenTK.Graphics { fixed (Single* m_ptr = m) { - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + Delegates.glMatrixLoadfEXT((MatrixMode)mode, (Single*)m_ptr); } } #if DEBUG @@ -102380,13 +100433,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] public static - void MatrixLoadIdentity(OpenTK.Graphics.MatrixMode mode) + void MatrixLoadIdentity(MatrixMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.MatrixMode)mode); + Delegates.glMatrixLoadIdentityEXT((MatrixMode)mode); #if DEBUG } #endif @@ -102395,13 +100448,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) + unsafe void MatrixLoadTranspose(MatrixMode mode, Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + Delegates.glMatrixLoadTransposedEXT((MatrixMode)mode, (Double*)m); #if DEBUG } #endif @@ -102409,27 +100462,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) + void MatrixLoadTranspose(MatrixMode mode, Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102439,7 +100472,27 @@ namespace OpenTK.Graphics { fixed (Double* m_ptr = m) { - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + Delegates.glMatrixLoadTransposedEXT((MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + void MatrixLoadTranspose(MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixLoadTransposedEXT((MatrixMode)mode, (Double*)m_ptr); } } #if DEBUG @@ -102449,7 +100502,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) + void MatrixLoadTranspose(MatrixMode mode, ref Single m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102459,7 +100512,7 @@ namespace OpenTK.Graphics { fixed (Single* m_ptr = &m) { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + Delegates.glMatrixLoadTransposefEXT((MatrixMode)mode, (Single*)m_ptr); } } #if DEBUG @@ -102470,13 +100523,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) + unsafe void MatrixLoadTranspose(MatrixMode mode, Single* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + Delegates.glMatrixLoadTransposefEXT((MatrixMode)mode, (Single*)m); #if DEBUG } #endif @@ -102484,7 +100537,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Single[] m) + void MatrixLoadTranspose(MatrixMode mode, Single[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102494,7 +100547,7 @@ namespace OpenTK.Graphics { fixed (Single* m_ptr = m) { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + Delegates.glMatrixLoadTransposefEXT((MatrixMode)mode, (Single*)m_ptr); } } #if DEBUG @@ -102505,13 +100558,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] public static - unsafe void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double* m) + unsafe void MatrixMult(MatrixMode mode, Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + Delegates.glMatrixMultdEXT((MatrixMode)mode, (Double*)m); #if DEBUG } #endif @@ -102519,27 +100572,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double[] m) + void MatrixMult(MatrixMode mode, Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102549,7 +100582,7 @@ namespace OpenTK.Graphics { fixed (Double* m_ptr = m) { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + Delegates.glMatrixMultdEXT((MatrixMode)mode, (Double*)m_ptr); } } #if DEBUG @@ -102557,79 +100590,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - unsafe void MatrixMult(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) + void MatrixMult(MatrixMode mode, ref Double m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102639,7 +100602,7 @@ namespace OpenTK.Graphics { fixed (Double* m_ptr = &m) { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + Delegates.glMatrixMultdEXT((MatrixMode)mode, (Double*)m_ptr); } } #if DEBUG @@ -102647,9 +100610,79 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultfEXT((MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + unsafe void MatrixMult(MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultfEXT((MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixMultfEXT((MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) + unsafe void MatrixMultTranspose(MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultTransposedEXT((MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + void MatrixMultTranspose(MatrixMode mode, Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102659,7 +100692,47 @@ namespace OpenTK.Graphics { fixed (Double* m_ptr = m) { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + Delegates.glMatrixMultTransposedEXT((MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + void MatrixMultTranspose(MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixMultTransposedEXT((MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + void MatrixMultTranspose(MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultTransposefEXT((MatrixMode)mode, (Single*)m_ptr); } } #if DEBUG @@ -102670,13 +100743,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) + unsafe void MatrixMultTranspose(MatrixMode mode, Single* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + Delegates.glMatrixMultTransposefEXT((MatrixMode)mode, (Single*)m); #if DEBUG } #endif @@ -102684,7 +100757,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single[] m) + void MatrixMultTranspose(MatrixMode mode, Single[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102694,27 +100767,7 @@ namespace OpenTK.Graphics { fixed (Single* m_ptr = m) { - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + Delegates.glMatrixMultTransposefEXT((MatrixMode)mode, (Single*)m_ptr); } } #if DEBUG @@ -102724,13 +100777,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixOrthoEXT")] public static - void MatrixOrtho(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + void MatrixOrtho(MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixOrthoEXT((OpenTK.Graphics.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + Delegates.glMatrixOrthoEXT((MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); #if DEBUG } #endif @@ -102738,13 +100791,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixPopEXT")] public static - void MatrixPop(OpenTK.Graphics.MatrixMode mode) + void MatrixPop(MatrixMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixPopEXT((OpenTK.Graphics.MatrixMode)mode); + Delegates.glMatrixPopEXT((MatrixMode)mode); #if DEBUG } #endif @@ -102752,13 +100805,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixPushEXT")] public static - void MatrixPush(OpenTK.Graphics.MatrixMode mode) + void MatrixPush(MatrixMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixPushEXT((OpenTK.Graphics.MatrixMode)mode); + Delegates.glMatrixPushEXT((MatrixMode)mode); #if DEBUG } #endif @@ -102766,13 +100819,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixRotatedEXT")] public static - void MatrixRotate(OpenTK.Graphics.MatrixMode mode, Double angle, Double x, Double y, Double z) + void MatrixRotate(MatrixMode mode, Double angle, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixRotatedEXT((OpenTK.Graphics.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); + Delegates.glMatrixRotatedEXT((MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); #if DEBUG } #endif @@ -102780,13 +100833,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixRotatefEXT")] public static - void MatrixRotate(OpenTK.Graphics.MatrixMode mode, Single angle, Single x, Single y, Single z) + void MatrixRotate(MatrixMode mode, Single angle, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixRotatefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); + Delegates.glMatrixRotatefEXT((MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -102794,13 +100847,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixScaledEXT")] public static - void MatrixScale(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z) + void MatrixScale(MatrixMode mode, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixScaledEXT((OpenTK.Graphics.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + Delegates.glMatrixScaledEXT((MatrixMode)mode, (Double)x, (Double)y, (Double)z); #if DEBUG } #endif @@ -102808,13 +100861,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixScalefEXT")] public static - void MatrixScale(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z) + void MatrixScale(MatrixMode mode, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixScalefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + Delegates.glMatrixScalefEXT((MatrixMode)mode, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -102822,13 +100875,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixTranslatedEXT")] public static - void MatrixTranslate(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z) + void MatrixTranslate(MatrixMode mode, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + Delegates.glMatrixTranslatedEXT((MatrixMode)mode, (Double)x, (Double)y, (Double)z); #if DEBUG } #endif @@ -102836,13 +100889,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixTranslatefEXT")] public static - void MatrixTranslate(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z) + void MatrixTranslate(MatrixMode mode, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + Delegates.glMatrixTranslatefEXT((MatrixMode)mode, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -102867,16 +100920,15 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glMinmaxEXT")] public static - void Minmax(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + void Minmax(ExtHistogram target, PixelInternalFormat internalformat, bool sink) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + Delegates.glMinmaxEXT((ExtHistogram)target, (PixelInternalFormat)internalformat, (bool)sink); #if DEBUG } #endif @@ -102906,17 +100958,16 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static - unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + unsafe void MultiDrawArrays(BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + Delegates.glMultiDrawArraysEXT((BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); #if DEBUG } #endif @@ -102946,10 +100997,54 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) + void MultiDrawArrays(BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArraysEXT((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102960,7 +101055,7 @@ namespace OpenTK.Graphics fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMultiDrawArraysEXT((BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); first = *first_ptr; count = *count_ptr; } @@ -102971,52 +101066,6 @@ namespace OpenTK.Graphics } - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - /// /// Render multiple sets of primitives by specifying indices of array data elements /// @@ -103045,401 +101094,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -103449,7 +101107,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -103489,11 +101147,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -103503,7 +101160,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -103543,11 +101200,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -103557,7 +101213,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -103597,21 +101253,24 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); } #if DEBUG } @@ -103647,10 +101306,53 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + unsafe void MultiDrawElements(BeginMode mode, Int32* count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -103664,7 +101366,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -103706,10 +101408,232 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, Int32[] count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -103723,7 +101647,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -103765,64 +101689,9 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -103836,7 +101705,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -103849,30 +101718,195 @@ namespace OpenTK.Graphics #endif } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(BeginMode mode, ref Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementsEXT((BeginMode)mode, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] + public static + void MultiTexBuffer(TextureUnit texunit, TextureTarget target, ExtDirectStateAccess internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexBufferEXT((TextureUnit)texunit, (TextureTarget)target, (ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] public static - void MultiTexBuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer) + void MultiTexBuffer(TextureUnit texunit, TextureTarget target, ExtDirectStateAccess internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] - public static - void MultiTexBuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + Delegates.glMultiTexBufferEXT((TextureUnit)texunit, (TextureTarget)target, (ExtDirectStateAccess)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -103880,7 +101914,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) + void MultiTexCoordPointer(TextureUnit texunit, Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -103890,7 +101924,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexCoordPointerEXT((TextureUnit)texunit, (Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -103903,7 +101937,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[] pointer) + void MultiTexCoordPointer(TextureUnit texunit, Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -103913,7 +101947,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexCoordPointerEXT((TextureUnit)texunit, (Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -103926,7 +101960,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T4 pointer) + void MultiTexCoordPointer(TextureUnit texunit, Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -103936,7 +101970,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexCoordPointerEXT((TextureUnit)texunit, (Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -103949,7 +101983,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,] pointer) + void MultiTexCoordPointer(TextureUnit texunit, Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -103959,7 +101993,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexCoordPointerEXT((TextureUnit)texunit, (Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -103972,13 +102006,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) + void MultiTexCoordPointer(TextureUnit texunit, Int32 size, TexCoordPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glMultiTexCoordPointerEXT((TextureUnit)texunit, (Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -103986,13 +102020,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfEXT")] public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) + void MultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single)param); + Delegates.glMultiTexEnvfEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Single)param); #if DEBUG } #endif @@ -104001,13 +102035,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] public static - unsafe void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params) + unsafe void MultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + Delegates.glMultiTexEnvfvEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -104015,7 +102049,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single[] @params) + void MultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104025,7 +102059,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + Delegates.glMultiTexEnvfvEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -104035,13 +102069,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnviEXT")] public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param) + void MultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexEnviEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32)param); + Delegates.glMultiTexEnviEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32)param); #if DEBUG } #endif @@ -104050,13 +102084,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvivEXT")] public static - unsafe void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params) + unsafe void MultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); + Delegates.glMultiTexEnvivEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -104064,7 +102098,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvivEXT")] public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32[] @params) + void MultiTexEnv(TextureUnit texunit, TextureEnvTarget target, TextureEnvParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104074,7 +102108,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + Delegates.glMultiTexEnvivEXT((TextureUnit)texunit, (TextureEnvTarget)target, (TextureEnvParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -104084,13 +102118,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendEXT")] public static - void MultiTexGend(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param) + void MultiTexGend(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Double param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexGendEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double)param); + Delegates.glMultiTexGendEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + unsafe void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGendvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params); #if DEBUG } #endif @@ -104098,7 +102147,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params) + void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104108,7 +102157,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glMultiTexGendvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -104116,24 +102165,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] public static - unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) + void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, ref Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104143,7 +102177,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + Delegates.glMultiTexGendvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Double*)@params_ptr); } } #if DEBUG @@ -104153,13 +102187,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfEXT")] public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) + void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexGenfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single)param); + Delegates.glMultiTexGenfEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Single)param); #if DEBUG } #endif @@ -104168,13 +102202,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfvEXT")] public static - unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params) + unsafe void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); + Delegates.glMultiTexGenfvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -104182,7 +102216,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfvEXT")] public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single[] @params) + void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104192,7 +102226,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + Delegates.glMultiTexGenfvEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -104202,13 +102236,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGeniEXT")] public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param) + void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexGeniEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32)param); + Delegates.glMultiTexGeniEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Int32)param); #if DEBUG } #endif @@ -104217,13 +102251,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenivEXT")] public static - unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params) + unsafe void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + Delegates.glMultiTexGenivEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -104231,7 +102265,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenivEXT")] public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) + void MultiTexGen(TextureUnit texunit, TextureCoordName coord, TextureGenParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104241,7 +102275,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + Delegates.glMultiTexGenivEXT((TextureUnit)texunit, (TextureCoordName)coord, (TextureGenParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -104251,7 +102285,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void MultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -104261,7 +102295,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104274,21 +102308,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void MultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,,] pixels) where T8 : struct { #if DEBUG @@ -104298,7 +102318,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104311,7 +102331,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + void MultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -104321,7 +102341,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104334,7 +102354,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + void MultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[] pixels) where T8 : struct { #if DEBUG @@ -104344,7 +102364,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104355,9 +102375,23 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void MultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -104367,7 +102401,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104380,7 +102414,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void MultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -104390,7 +102424,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104403,21 +102437,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void MultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -104427,7 +102447,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104440,7 +102460,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void MultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -104450,7 +102470,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104461,9 +102481,23 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + void MultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T10 pixels) where T10 : struct { #if DEBUG @@ -104473,7 +102507,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104486,7 +102520,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + void MultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,,] pixels) where T10 : struct { #if DEBUG @@ -104496,7 +102530,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104509,7 +102543,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void MultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,] pixels) where T10 : struct { #if DEBUG @@ -104519,7 +102553,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104532,7 +102566,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + void MultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[] pixels) where T10 : struct { #if DEBUG @@ -104542,7 +102576,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104555,13 +102589,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void MultiTexImage3D(TextureUnit texunit, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glMultiTexImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -104569,13 +102603,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfEXT")] public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + void MultiTexParameter(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + Delegates.glMultiTexParameterfEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] + public static + unsafe void MultiTexParameter(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Single*)@params); #if DEBUG } #endif @@ -104583,7 +102632,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + void MultiTexParameter(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104593,7 +102642,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + Delegates.glMultiTexParameterfvEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -104601,30 +102650,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameteriEXT")] public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + void MultiTexParameter(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + Delegates.glMultiTexParameteriEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Int32)param); #if DEBUG } #endif @@ -104633,13 +102667,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] public static - unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + unsafe void MultiTexParameterI(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + Delegates.glMultiTexParameterIivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -104647,7 +102681,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + void MultiTexParameterI(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104657,7 +102691,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glMultiTexParameterIivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -104667,7 +102701,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + void MultiTexParameterI(TextureUnit texunit, TextureTarget target, TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104677,7 +102711,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glMultiTexParameterIivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -104688,22 +102722,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] public static - unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + void MultiTexParameterI(TextureUnit texunit, TextureTarget target, TextureParameterName pname, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104713,7 +102732,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glMultiTexParameterIuivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -104724,7 +102743,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + unsafe void MultiTexParameterI(TextureUnit texunit, TextureTarget target, TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterIuivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + void MultiTexParameterI(TextureUnit texunit, TextureTarget target, TextureParameterName pname, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104734,7 +102768,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glMultiTexParameterIuivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -104742,9 +102776,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + unsafe void MultiTexParameter(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] + public static + void MultiTexParameter(TextureUnit texunit, TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104754,7 +102803,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glMultiTexParameterivEXT((TextureUnit)texunit, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -104762,30 +102811,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] public static - void MultiTexRenderbuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + void MultiTexRenderbuffer(TextureUnit texunit, TextureTarget target, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glMultiTexRenderbufferEXT((TextureUnit)texunit, (TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -104794,13 +102828,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] public static - void MultiTexRenderbuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + void MultiTexRenderbuffer(TextureUnit texunit, TextureTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glMultiTexRenderbufferEXT((TextureUnit)texunit, (TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -104808,21 +102842,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + void MultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T7 pixels) where T7 : struct { #if DEBUG @@ -104832,7 +102852,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104845,7 +102865,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + void MultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[,,] pixels) where T7 : struct { #if DEBUG @@ -104855,7 +102875,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104868,7 +102888,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + void MultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[,] pixels) where T7 : struct { #if DEBUG @@ -104878,7 +102898,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104891,7 +102911,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + void MultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[] pixels) where T7 : struct { #if DEBUG @@ -104901,7 +102921,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104912,9 +102932,23 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage1DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void MultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -104924,7 +102958,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104937,7 +102971,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void MultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -104947,7 +102981,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104960,7 +102994,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void MultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -104970,7 +103004,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -104983,7 +103017,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void MultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -104993,7 +103027,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -105006,13 +103040,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void MultiTexSubImage2D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glMultiTexSubImage2DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -105020,7 +103054,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + void MultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] ref T11 pixels) where T11 : struct { #if DEBUG @@ -105030,7 +103064,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -105043,21 +103077,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + void MultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[,,] pixels) where T11 : struct { #if DEBUG @@ -105067,7 +103087,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -105080,7 +103100,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + void MultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[,] pixels) where T11 : struct { #if DEBUG @@ -105090,7 +103110,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -105103,7 +103123,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + void MultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[] pixels) where T11 : struct { #if DEBUG @@ -105113,7 +103133,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -105124,10 +103144,130 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(TextureUnit texunit, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage3DEXT((TextureUnit)texunit, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,] data, ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[] data, ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, ExtDirectStateAccess usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (ExtDirectStateAccess)usage); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, ExtDirectStateAccess usage) where T2 : struct { #if DEBUG @@ -105137,67 +103277,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); } finally { @@ -105211,21 +103291,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, ExtDirectStateAccess usage) where T2 : struct { #if DEBUG @@ -105235,7 +103301,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); } finally { @@ -105249,7 +103315,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,] data, ExtDirectStateAccess usage) where T2 : struct { #if DEBUG @@ -105259,7 +103325,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); } finally { @@ -105273,7 +103339,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[] data, ExtDirectStateAccess usage) where T2 : struct { #if DEBUG @@ -105283,7 +103349,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (ExtDirectStateAccess)usage); } finally { @@ -105297,54 +103363,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct + void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, ExtDirectStateAccess usage) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (ExtDirectStateAccess)usage); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -105367,7 +103400,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) where T3 : struct { #if DEBUG @@ -105413,7 +103446,45 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -105458,39 +103529,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -105535,24 +103577,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG } - finally + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] + public static + void NamedFramebufferRenderbuffer(Int32 framebuffer, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - data_ptr.Free(); - } + #endif + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif @@ -105561,27 +103609,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] public static - void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + void NamedFramebufferRenderbuffer(UInt32 framebuffer, FramebufferAttachment attachment, RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static - void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif @@ -105589,13 +103623,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] public static - void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void NamedFramebufferTexture1D(Int32 framebuffer, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -105604,13 +103638,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] public static - void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void NamedFramebufferTexture1D(UInt32 framebuffer, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -105618,13 +103652,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] public static - void NamedFramebufferTexture2D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void NamedFramebufferTexture2D(Int32 framebuffer, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -105633,13 +103667,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] public static - void NamedFramebufferTexture2D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void NamedFramebufferTexture2D(UInt32 framebuffer, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -105647,13 +103681,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] public static - void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + void NamedFramebufferTexture3D(Int32 framebuffer, FramebufferAttachment attachment, TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); #if DEBUG } #endif @@ -105662,13 +103696,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] public static - void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + void NamedFramebufferTexture3D(UInt32 framebuffer, FramebufferAttachment attachment, TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); #if DEBUG } #endif @@ -105676,13 +103710,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] public static - void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + void NamedFramebufferTexture(Int32 framebuffer, FramebufferAttachment attachment, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -105691,13 +103725,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] public static - void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + void NamedFramebufferTexture(UInt32 framebuffer, FramebufferAttachment attachment, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + public static + void NamedFramebufferTextureFace(Int32 framebuffer, FramebufferAttachment attachment, Int32 texture, Int32 level, TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face); #if DEBUG } #endif @@ -105706,27 +103754,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] public static - void NamedFramebufferTextureFace(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + void NamedFramebufferTextureFace(UInt32 framebuffer, FramebufferAttachment attachment, UInt32 texture, Int32 level, TextureTarget face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (TextureTarget)face); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] public static - void NamedFramebufferTextureFace(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + void NamedFramebufferTextureLayer(Int32 framebuffer, FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -105735,27 +103783,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] public static - void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void NamedFramebufferTextureLayer(UInt32 framebuffer, FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] - public static - void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif @@ -105763,13 +103797,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) + void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -105778,13 +103812,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) + void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -105793,19 +103827,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Double @params) + unsafe void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif @@ -105813,7 +103841,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double[] @params) + void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105823,7 +103851,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -105831,60 +103859,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Double @params) + void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, ref Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105894,7 +103871,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -105903,15 +103880,57 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) + unsafe void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } #if DEBUG } #endif @@ -105919,13 +103938,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w) + void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -105933,7 +103967,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Single @params) + void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105943,7 +103977,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -105954,13 +103988,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params) + unsafe void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, ExtDirectStateAccess target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -105969,7 +104023,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Single @params) + void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105979,7 +104033,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -105990,7 +104044,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single[] @params) + unsafe void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -106000,7 +104069,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -106008,50 +104077,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void NamedProgramLocalParameterI4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -106060,13 +104094,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -106075,19 +104109,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) + unsafe void NamedProgramLocalParameterI4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif @@ -106095,7 +104123,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32[] @params) + void NamedProgramLocalParameterI4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -106105,28 +104133,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -106136,7 +104143,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Int32 @params) + void NamedProgramLocalParameterI4(Int32 program, ExtDirectStateAccess target, Int32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -106146,7 +104153,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -106157,13 +104164,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32* @params) + unsafe void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif @@ -106172,13 +104179,40 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params) + void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -106187,13 +104221,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); #if DEBUG } #endif @@ -106202,43 +104236,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) + void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -106248,7 +104246,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -106257,254 +104255,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] public static - unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) + unsafe void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] public static - unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params) + void NamedProgramLocalParameterI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -106514,7 +104282,231 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -106525,22 +104517,63 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) + void NamedProgramLocalParametersI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + void NamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) where T4 : struct { #if DEBUG @@ -106550,7 +104583,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -106563,7 +104596,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + void NamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) where T4 : struct { #if DEBUG @@ -106573,7 +104606,91 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -106587,7 +104704,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + void NamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) where T4 : struct { #if DEBUG @@ -106597,7 +104714,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -106611,13 +104728,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) + void NamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } #if DEBUG } #endif @@ -106626,7 +104752,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) + void NamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) where T4 : struct { #if DEBUG @@ -106636,7 +104762,7 @@ namespace OpenTK.Graphics GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); } finally { @@ -106647,108 +104773,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) - where T4 : struct + void NamedProgramString(UInt32 program, ExtDirectStateAccess target, ExtDirectStateAccess format, Int32 len, IntPtr @string) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } + Delegates.glNamedProgramStringEXT((UInt32)program, (ExtDirectStateAccess)target, (ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) - where T4 : struct + void NamedRenderbufferStorage(Int32 renderbuffer, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -106757,27 +104805,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] public static - void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorage(UInt32 renderbuffer, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] - public static - void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -106785,13 +104819,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] public static - void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -106800,13 +104834,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] public static - void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -106814,13 +104848,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] public static - void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -106829,13 +104863,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] public static - void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -106860,10 +104894,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + void NormalPointer(NormalPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -106873,7 +104906,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointerEXT((NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -106903,10 +104936,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) + void NormalPointer(NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -106916,7 +104948,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointerEXT((NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -106946,44 +104978,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) + void NormalPointer(NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -106993,7 +104990,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointerEXT((NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -107023,10 +105020,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + void NormalPointer(NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -107036,7 +105032,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointerEXT((NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -107047,15 +105043,48 @@ namespace OpenTK.Graphics #endif } + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointerEXT((NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterfEXT")] public static - void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single param) + void PixelTransformParameter(ExtPixelTransform target, ExtPixelTransform pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransformParameterfEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Single)param); + Delegates.glPixelTransformParameterfEXT((ExtPixelTransform)target, (ExtPixelTransform)pname, (Single)param); #if DEBUG } #endif @@ -107064,13 +105093,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterfvEXT")] public static - unsafe void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single* @params) + unsafe void PixelTransformParameter(ExtPixelTransform target, ExtPixelTransform pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Single*)@params); + Delegates.glPixelTransformParameterfvEXT((ExtPixelTransform)target, (ExtPixelTransform)pname, (Single*)@params); #if DEBUG } #endif @@ -107078,13 +105107,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameteriEXT")] public static - void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32 param) + void PixelTransformParameter(ExtPixelTransform target, ExtPixelTransform pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Int32)param); + Delegates.glPixelTransformParameteriEXT((ExtPixelTransform)target, (ExtPixelTransform)pname, (Int32)param); #if DEBUG } #endif @@ -107093,13 +105122,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterivEXT")] public static - unsafe void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32* @params) + unsafe void PixelTransformParameter(ExtPixelTransform target, ExtPixelTransform pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Int32*)@params); + Delegates.glPixelTransformParameterivEXT((ExtPixelTransform)target, (ExtPixelTransform)pname, (Int32*)@params); #if DEBUG } #endif @@ -107119,16 +105148,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfEXT")] public static - void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single param) + void PointParameter(ExtPointParameters pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single)param); + Delegates.glPointParameterfEXT((ExtPointParameters)pname, (Single)param); #if DEBUG } #endif @@ -107148,10 +105176,38 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] public static - void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single[] @params) + unsafe void PointParameter(ExtPointParameters pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfvEXT((ExtPointParameters)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] + public static + void PointParameter(ExtPointParameters pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107161,7 +105217,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params_ptr); + Delegates.glPointParameterfvEXT((ExtPointParameters)pname, (Single*)@params_ptr); } } #if DEBUG @@ -107170,36 +105226,6 @@ namespace OpenTK.Graphics } - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] - public static - unsafe void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// /// Set the scale and units used to calculate depth values /// @@ -107213,7 +105239,6 @@ namespace OpenTK.Graphics /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtPolygonOffset", Version = "1.0", EntryPoint = "glPolygonOffsetEXT")] public static void PolygonOffset(Single factor, Single bias) @@ -107247,7 +105272,40 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) @@ -107288,11 +105346,9 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107300,8 +105356,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); } @@ -107330,7 +105386,6 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -107372,42 +105427,6 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] - public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -107442,10 +105461,10 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107453,8 +105472,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) { Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); } @@ -107466,7 +105485,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) + void ProgramEnvParameters4(ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107476,7 +105495,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramEnvParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -107487,37 +105506,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static - unsafe void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + unsafe void ProgramEnvParameters4(ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramEnvParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static - unsafe void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + void ProgramEnvParameters4(ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107527,27 +105530,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramEnvParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -107558,7 +105541,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + void ProgramEnvParameters4(ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107568,27 +105551,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramEnvParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -107597,39 +105560,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static - unsafe void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + unsafe void ProgramEnvParameters4(ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramEnvParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static - unsafe void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + void ProgramEnvParameters4(ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107639,7 +105587,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramEnvParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -107649,7 +105597,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) + void ProgramLocalParameters4(ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107657,9 +105605,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramLocalParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -107670,7 +105618,42 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + unsafe void ProgramLocalParameters4(ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107680,7 +105663,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramLocalParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -107688,45 +105671,66 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + unsafe void ProgramLocalParameters4(ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameters4fvEXT((ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] + public static + void ProgramParameter(Int32 program, ExtGeometryShader4 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriEXT((UInt32)program, (ExtGeometryShader4)pname, (Int32)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) + void ProgramParameter(UInt32 program, ExtGeometryShader4 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + Delegates.glProgramParameteriEXT((UInt32)program, (ExtGeometryShader4)pname, (Int32)value); #if DEBUG } #endif @@ -107747,51 +105751,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform1(UInt32 program, Int32 location, Single v0) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); #if DEBUG } #endif @@ -107817,6 +105785,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] public static void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) @@ -107858,6 +105841,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] public static void ProgramUniform1(Int32 program, Int32 location, Int32 v0) @@ -107902,10 +105921,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107913,7 +105931,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = &value) + fixed (Int32* value_ptr = value) { Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); } @@ -107958,9 +105976,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107981,7 +106000,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107989,7 +106008,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = value) + fixed (Int32* value_ptr = &value) { Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); } @@ -108014,21 +106033,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] public static @@ -108050,6 +106054,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] public static @@ -108100,27 +106119,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] public static void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) @@ -108156,6 +106154,47 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] public static @@ -108192,26 +106231,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2iEXT")] public static void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) @@ -108241,27 +106260,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] public static @@ -108277,21 +106275,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] public static void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) @@ -108312,6 +106295,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uiEXT")] public static @@ -108327,6 +106346,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] public static @@ -108363,27 +106403,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] public static void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) @@ -108413,10 +106432,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -108424,7 +106442,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -108434,6 +106452,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] public static void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) @@ -108454,36 +106487,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] public static @@ -108505,9 +106508,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -108515,7 +106534,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -108554,6 +106573,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] public static void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) @@ -108589,21 +106643,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] public static @@ -108625,26 +106664,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] public static @@ -108681,27 +106700,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] public static @@ -108739,15 +106737,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } #if DEBUG } #endif @@ -108768,9 +106772,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -108788,6 +106806,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) @@ -108811,7 +106844,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -108819,7 +106852,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -108829,21 +106862,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static @@ -108859,9 +106877,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -108869,7 +106888,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -108908,41 +106927,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] public static @@ -108978,6 +106962,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] public static @@ -109092,10 +107111,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109103,7 +107121,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -109113,41 +107131,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static @@ -109165,7 +107148,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109173,7 +107156,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -109205,29 +107188,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109237,7 +107215,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -109245,42 +107223,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] public static void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) @@ -109316,6 +107258,83 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) @@ -109336,21 +107355,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static @@ -109366,27 +107370,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) @@ -109428,9 +107411,25 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109440,28 +107439,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -109504,6 +107482,47 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] public static @@ -109540,10 +107559,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109551,7 +107569,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -109561,6 +107579,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) @@ -109581,36 +107614,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static @@ -109632,30 +107635,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109665,7 +107663,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -109673,21 +107671,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) @@ -109711,7 +107694,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109764,9 +107747,25 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109775,6 +107774,26 @@ namespace OpenTK.Graphics unsafe { fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) { Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -109799,10 +107818,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109856,9 +107874,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109868,7 +107907,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = &value) { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -109879,7 +107918,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109911,47 +107950,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] public static @@ -109976,7 +107974,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109988,6 +107986,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) @@ -110008,6 +108027,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static @@ -110029,21 +108083,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static @@ -110080,35 +108119,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtProvokingVertex", Version = "2.1", EntryPoint = "glProvokingVertexEXT")] public static - void ProvokingVertex(OpenTK.Graphics.ExtProvokingVertex mode) + void ProvokingVertex(ExtProvokingVertex mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProvokingVertexEXT((OpenTK.Graphics.ExtProvokingVertex)mode); + Delegates.glProvokingVertexEXT((ExtProvokingVertex)mode); #if DEBUG } #endif @@ -110116,13 +108135,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glPushClientAttribDefaultEXT")] public static - void PushClientAttribDefault(OpenTK.Graphics.ClientAttribMask mask) + void PushClientAttribDefault(ClientAttribMask mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.ClientAttribMask)mask); + Delegates.glPushClientAttribDefaultEXT((ClientAttribMask)mask); #if DEBUG } #endif @@ -110130,13 +108149,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glRenderbufferStorageEXT")] public static - void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) + void RenderbufferStorage(RenderbufferTarget target, RenderbufferStorage internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + Delegates.glRenderbufferStorageEXT((RenderbufferTarget)target, (RenderbufferStorage)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -110144,13 +108163,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtFramebufferMultisample", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleEXT")] public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ExtFramebufferMultisample internalformat, Int32 width, Int32 height) + void RenderbufferStorageMultisample(ExtFramebufferMultisample target, Int32 samples, ExtFramebufferMultisample internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ExtFramebufferMultisample)target, (Int32)samples, (OpenTK.Graphics.ExtFramebufferMultisample)internalformat, (Int32)width, (Int32)height); + Delegates.glRenderbufferStorageMultisampleEXT((ExtFramebufferMultisample)target, (Int32)samples, (ExtFramebufferMultisample)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -110165,16 +108184,15 @@ namespace OpenTK.Graphics /// Must be GL_HISTOGRAM. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetHistogramEXT")] public static - void ResetHistogram(OpenTK.Graphics.ExtHistogram target) + void ResetHistogram(ExtHistogram target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResetHistogramEXT((OpenTK.Graphics.ExtHistogram)target); + Delegates.glResetHistogramEXT((ExtHistogram)target); #if DEBUG } #endif @@ -110189,16 +108207,15 @@ namespace OpenTK.Graphics /// Must be GL_MINMAX. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetMinmaxEXT")] public static - void ResetMinmax(OpenTK.Graphics.ExtHistogram target) + void ResetMinmax(ExtHistogram target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target); + Delegates.glResetMinmaxEXT((ExtHistogram)target); #if DEBUG } #endif @@ -110220,13 +108237,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtMultisample", Version = "1.0", EntryPoint = "glSamplePatternEXT")] public static - void SamplePattern(OpenTK.Graphics.ExtMultisample pattern) + void SamplePattern(ExtMultisample pattern) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSamplePatternEXT((OpenTK.Graphics.ExtMultisample)pattern); + Delegates.glSamplePatternEXT((ExtMultisample)pattern); #if DEBUG } #endif @@ -110241,7 +108258,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bEXT")] public static @@ -110266,32 +108282,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -110322,7 +108312,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -110353,7 +108366,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dEXT")] public static void SecondaryColor3(Double red, Double green, Double blue) @@ -110377,7 +108389,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static @@ -110402,37 +108413,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] - public static - void SecondaryColor3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static void SecondaryColor3(Double[] v) @@ -110462,7 +108442,35 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] + public static + void SecondaryColor3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fEXT")] public static void SecondaryColor3(Single red, Single green, Single blue) @@ -110486,32 +108494,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] - public static - unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fvEXT((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static void SecondaryColor3(ref Single v) @@ -110541,7 +108523,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] + public static + unsafe void SecondaryColor3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fvEXT((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static void SecondaryColor3(Single[] v) @@ -110571,7 +108576,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3iEXT")] public static void SecondaryColor3(Int32 red, Int32 green, Int32 blue) @@ -110595,7 +108599,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static @@ -110620,37 +108623,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] - public static - void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static void SecondaryColor3(Int32[] v) @@ -110680,7 +108652,35 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] + public static + void SecondaryColor3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3sEXT")] public static void SecondaryColor3(Int16 red, Int16 green, Int16 blue) @@ -110704,7 +108704,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static @@ -110729,37 +108728,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] - public static - void SecondaryColor3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static void SecondaryColor3(Int16[] v) @@ -110789,7 +108757,35 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + public static + void SecondaryColor3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubEXT")] public static void SecondaryColor3(Byte red, Byte green, Byte blue) @@ -110813,7 +108809,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static @@ -110838,37 +108833,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] - public static - void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static void SecondaryColor3(Byte[] v) @@ -110898,7 +108862,35 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] + public static + void SecondaryColor3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uiEXT")] public static @@ -110923,32 +108915,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] - public static - unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3uivEXT((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static @@ -110979,7 +108945,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] + public static + unsafe void SecondaryColor3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3uivEXT((UInt32*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static @@ -111010,7 +108999,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usEXT")] public static @@ -111035,32 +109023,6 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] - public static - unsafe void SecondaryColor3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3usvEXT((UInt16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static @@ -111091,7 +109053,30 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] + public static + unsafe void SecondaryColor3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3usvEXT((UInt16*)v); + #if DEBUG + } + #endif + } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static @@ -111137,10 +109122,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -111150,7 +109134,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -111185,10 +109169,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -111198,7 +109181,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -111233,10 +109216,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -111246,7 +109228,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSecondaryColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -111281,16 +109263,24 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -111320,25 +109310,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct + void SecondaryColorPointer(Int32 size, ColorPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glSecondaryColorPointerEXT((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -111388,341 +109368,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -111734,7 +109382,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -111790,10 +109438,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -111805,7 +109452,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -111861,10 +109508,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -111876,7 +109522,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -111932,10 +109578,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -111947,7 +109592,7 @@ namespace OpenTK.Graphics GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { @@ -111959,10 +109604,442 @@ namespace OpenTK.Graphics #endif } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, [In, Out] T7[] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(ExtConvolution target, PixelInternalFormat internalformat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2DEXT((ExtConvolution)target, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + void SetInvariant(UInt32 id, ExtVertexShader type, [In, Out] ref T2 addr) where T2 : struct { #if DEBUG @@ -111972,76 +110049,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112055,7 +110063,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + void SetInvariant(UInt32 id, ExtVertexShader type, [In, Out] T2[,,] addr) where T2 : struct { #if DEBUG @@ -112065,60 +110073,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112132,7 +110087,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + void SetInvariant(UInt32 id, ExtVertexShader type, [In, Out] T2[,] addr) where T2 : struct { #if DEBUG @@ -112142,7 +110097,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112153,9 +110108,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + void SetInvariant(UInt32 id, ExtVertexShader type, [In, Out] T2[] addr) where T2 : struct { #if DEBUG @@ -112165,7 +110121,152 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112179,7 +110280,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + void SetLocalConstant(UInt32 id, ExtVertexShader type, [In, Out] T2[,,] addr) where T2 : struct { #if DEBUG @@ -112189,30 +110290,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112226,7 +110304,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + void SetLocalConstant(UInt32 id, ExtVertexShader type, [In, Out] T2[,] addr) where T2 : struct { #if DEBUG @@ -112236,7 +110314,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112250,7 +110328,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + void SetLocalConstant(UInt32 id, ExtVertexShader type, [In, Out] T2[] addr) where T2 : struct { #if DEBUG @@ -112260,7 +110338,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -112274,120 +110352,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) + void SetLocalConstant(UInt32 id, ExtVertexShader type, IntPtr addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } + Delegates.glSetLocalConstantEXT((UInt32)id, (ExtVertexShader)type, (IntPtr)addr); #if DEBUG } #endif @@ -112395,13 +110366,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] public static - void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1) + void ShaderOp1(ExtVertexShader op, Int32 res, Int32 arg1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderOp1EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + Delegates.glShaderOp1EXT((ExtVertexShader)op, (UInt32)res, (UInt32)arg1); #if DEBUG } #endif @@ -112410,13 +110381,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] public static - void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1) + void ShaderOp1(ExtVertexShader op, UInt32 res, UInt32 arg1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderOp1EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + Delegates.glShaderOp1EXT((ExtVertexShader)op, (UInt32)res, (UInt32)arg1); #if DEBUG } #endif @@ -112424,13 +110395,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] public static - void ShaderOp2(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) + void ShaderOp2(ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderOp2EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + Delegates.glShaderOp2EXT((ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); #if DEBUG } #endif @@ -112439,13 +110410,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] public static - void ShaderOp2(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) + void ShaderOp2(ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderOp2EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + Delegates.glShaderOp2EXT((ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] + public static + void ShaderOp3(ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp3EXT((ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); #if DEBUG } #endif @@ -112454,27 +110439,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] public static - void ShaderOp3(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) + void ShaderOp3(ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderOp3EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] - public static - void ShaderOp3(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp3EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); + Delegates.glShaderOp3EXT((ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); #if DEBUG } #endif @@ -112511,13 +110482,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSwizzleEXT")] public static - void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + void Swizzle(Int32 res, Int32 @in, ExtVertexShader outX, ExtVertexShader outY, ExtVertexShader outZ, ExtVertexShader outW) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (ExtVertexShader)outX, (ExtVertexShader)outY, (ExtVertexShader)outZ, (ExtVertexShader)outW); #if DEBUG } #endif @@ -112526,13 +110497,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSwizzleEXT")] public static - void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + void Swizzle(UInt32 res, UInt32 @in, ExtVertexShader outX, ExtVertexShader outY, ExtVertexShader outZ, ExtVertexShader outW) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (ExtVertexShader)outX, (ExtVertexShader)outY, (ExtVertexShader)outZ, (ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bEXT")] + public static + void Tangent3(Byte tx, Byte ty, Byte tz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); #if DEBUG } #endif @@ -112553,15 +110538,36 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - void Tangent3(Byte tx, Byte ty, Byte tz) + unsafe void Tangent3(Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); + Delegates.glTangent3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + void Tangent3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } #if DEBUG } #endif @@ -112590,13 +110596,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - unsafe void Tangent3(SByte* v) + void Tangent3(ref SByte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTangent3bvEXT((SByte*)v); + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } #if DEBUG } #endif @@ -112605,7 +110617,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - unsafe void Tangent3(Byte* v) + unsafe void Tangent3(SByte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112638,47 +110650,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3dEXT")] public static void Tangent3(Double tx, Double ty, Double tz) @@ -112693,6 +110664,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3dvEXT")] + public static + unsafe void Tangent3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3dvEXT((Double*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3dvEXT")] public static void Tangent3(Double[] v) @@ -112733,21 +110719,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3dvEXT")] - public static - unsafe void Tangent3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3dvEXT((Double*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fEXT")] public static void Tangent3(Single tx, Single ty, Single tz) @@ -112764,7 +110735,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] public static - void Tangent3(Single[] v) + void Tangent3(ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112772,7 +110743,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glTangent3fvEXT((Single*)v_ptr); } @@ -112799,7 +110770,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] public static - void Tangent3(ref Single v) + void Tangent3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112807,7 +110778,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glTangent3fvEXT((Single*)v_ptr); } @@ -112848,7 +110819,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] public static - void Tangent3(ref Int32 v) + void Tangent3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112856,7 +110827,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Int32* v_ptr = v) { Delegates.glTangent3ivEXT((Int32*)v_ptr); } @@ -112868,7 +110839,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] public static - void Tangent3(Int32[] v) + void Tangent3(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112876,7 +110847,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = v) + fixed (Int32* v_ptr = &v) { Delegates.glTangent3ivEXT((Int32*)v_ptr); } @@ -112915,26 +110886,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] - public static - void Tangent3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTangent3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] public static void Tangent3(Int16[] v) @@ -112955,9 +110906,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + public static + void Tangent3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTangent3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void TangentPointer(NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -112967,7 +110938,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTangentPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -112980,21 +110951,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + void TangentPointer(NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -113004,7 +110961,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTangentPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113017,7 +110974,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + void TangentPointer(NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -113027,7 +110984,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTangentPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113040,7 +110997,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) + void TangentPointer(NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -113050,7 +111007,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTangentPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113061,30 +111018,44 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangentPointerEXT((NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] + public static + void TexBuffer(TextureTarget target, ExtTextureBufferObject internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferEXT((TextureTarget)target, (ExtTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer) + void TexBuffer(TextureTarget target, ExtTextureBufferObject internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] - public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); + Delegates.glTexBufferEXT((TextureTarget)target, (ExtTextureBufferObject)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -113114,49 +111085,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -113166,7 +111097,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointerEXT((Int32)size, (TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113201,10 +111132,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -113214,7 +111144,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointerEXT((Int32)size, (TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113249,10 +111179,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -113262,7 +111191,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointerEXT((Int32)size, (TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113297,10 +111226,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -113310,7 +111238,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointerEXT((Int32)size, (TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113322,6 +111250,44 @@ namespace OpenTK.Graphics } + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointerEXT((Int32)size, (TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture image /// @@ -113375,10 +111341,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -113388,7 +111353,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -113453,10 +111418,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -113466,7 +111430,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -113531,79 +111495,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -113613,7 +111507,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -113678,10 +111572,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -113691,7 +111584,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage3DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -113702,16 +111595,84 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DEXT((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + unsafe void TexParameterI(TextureTarget target, TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + Delegates.glTexParameterIivEXT((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -113719,7 +111680,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + void TexParameterI(TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113729,7 +111690,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTexParameterIivEXT((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -113739,7 +111700,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + void TexParameterI(TextureTarget target, TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113749,7 +111710,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTexParameterIivEXT((TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -113760,28 +111721,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + void TexParameterI(TextureTarget target, TextureParameterName pname, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113791,7 +111731,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glTexParameterIuivEXT((TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -113802,13 +111742,34 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + unsafe void TexParameterI(TextureTarget target, TextureParameterName pname, UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + Delegates.glTexParameterIuivEXT((TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] + public static + void TexParameterI(TextureTarget target, TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTexParameterIuivEXT((TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -113853,10 +111814,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T6 pixels) where T6 : struct { #if DEBUG @@ -113866,7 +111826,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -113916,10 +111876,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T6[,,] pixels) where T6 : struct { #if DEBUG @@ -113929,7 +111888,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -113979,10 +111938,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T6[,] pixels) where T6 : struct { #if DEBUG @@ -113992,7 +111950,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114042,10 +112000,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T6[] pixels) where T6 : struct { #if DEBUG @@ -114055,7 +112012,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114105,16 +112062,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexSubImage1D(TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glTexSubImage1DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -114169,10 +112125,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -114182,7 +112137,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114242,10 +112197,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T8[,,] pixels) where T8 : struct { #if DEBUG @@ -114255,7 +112209,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114315,10 +112269,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -114328,7 +112281,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114388,10 +112341,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T8[] pixels) where T8 : struct { #if DEBUG @@ -114401,7 +112353,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage2DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114461,16 +112413,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexSubImage2D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glTexSubImage2DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -114535,10 +112486,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] ref T10 pixels) where T10 : struct { #if DEBUG @@ -114548,7 +112498,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114618,10 +112568,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T10[,,] pixels) where T10 : struct { #if DEBUG @@ -114631,7 +112580,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114701,84 +112650,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T10[,] pixels) where T10 : struct { #if DEBUG @@ -114788,7 +112662,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114858,10 +112732,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T10[] pixels) where T10 : struct { #if DEBUG @@ -114871,7 +112744,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage3DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114882,15 +112755,88 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3DEXT((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] public static - void TextureBuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) + void TextureBuffer(Int32 texture, TextureTarget target, ExtDirectStateAccess internalformat, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + Delegates.glTextureBufferEXT((UInt32)texture, (TextureTarget)target, (ExtDirectStateAccess)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -114899,22 +112845,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] public static - void TextureBuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer) + void TextureBuffer(UInt32 texture, TextureTarget target, ExtDirectStateAccess internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + Delegates.glTextureBufferEXT((UInt32)texture, (TextureTarget)target, (ExtDirectStateAccess)internalformat, (UInt32)buffer); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void TextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -114924,7 +112869,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114937,7 +112882,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + void TextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,,] pixels) where T8 : struct { #if DEBUG @@ -114947,7 +112892,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114960,7 +112905,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void TextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -114970,7 +112915,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -114983,7 +112928,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void TextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[] pixels) where T8 : struct { #if DEBUG @@ -114993,7 +112938,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115004,10 +112949,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void TextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -115017,7 +112976,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115028,39 +112987,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + void TextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,,] pixels) where T8 : struct { #if DEBUG @@ -115070,7 +113000,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115084,7 +113014,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + void TextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -115094,7 +113024,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115105,9 +113035,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + void TextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, [In, Out] T8[] pixels) where T8 : struct { #if DEBUG @@ -115117,7 +113048,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115129,9 +113060,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -115141,7 +113086,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115154,7 +113099,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void TextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -115164,7 +113109,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115177,7 +113122,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -115187,7 +113132,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115200,7 +113145,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -115210,7 +113155,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115221,10 +113166,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -115234,7 +113193,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115245,39 +113204,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -115287,7 +113217,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115301,7 +113231,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void TextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -115311,7 +113241,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115322,9 +113252,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -115334,7 +113265,152 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115348,7 +113424,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void TextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,,] pixels) where T10 : struct { #if DEBUG @@ -115358,30 +113434,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115395,7 +113448,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + void TextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,] pixels) where T10 : struct { #if DEBUG @@ -115405,30 +113458,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115442,7 +113472,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + void TextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[] pixels) where T10 : struct { #if DEBUG @@ -115452,30 +113482,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -115489,74 +113496,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct + void TextureImage3D(UInt32 texture, TextureTarget target, Int32 level, ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glTextureImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -115564,13 +113510,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureLightEXT")] public static - void TextureLight(OpenTK.Graphics.ExtLightTexture pname) + void TextureLight(ExtLightTexture pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureLightEXT((OpenTK.Graphics.ExtLightTexture)pname); + Delegates.glTextureLightEXT((ExtLightTexture)pname); #if DEBUG } #endif @@ -115578,13 +113524,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureMaterialEXT")] public static - void TextureMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode) + void TextureMaterial(MaterialFace face, MaterialParameter mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)mode); + Delegates.glTextureMaterialEXT((MaterialFace)face, (MaterialParameter)mode); #if DEBUG } #endif @@ -115592,13 +113538,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTexturePerturbNormal", Version = "1.1", EntryPoint = "glTextureNormalEXT")] public static - void TextureNormal(OpenTK.Graphics.ExtTexturePerturbNormal mode) + void TextureNormal(ExtTexturePerturbNormal mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureNormalEXT((OpenTK.Graphics.ExtTexturePerturbNormal)mode); + Delegates.glTextureNormalEXT((ExtTexturePerturbNormal)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] + public static + void TextureParameter(Int32 texture, TextureTarget target, TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Single)param); #if DEBUG } #endif @@ -115607,27 +113567,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + void TextureParameter(UInt32 texture, TextureTarget target, TextureParameterName pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + Delegates.glTextureParameterfEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Single)param); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + unsafe void TextureParameter(Int32 texture, TextureTarget target, TextureParameterName pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + Delegates.glTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Single*)@params); #if DEBUG } #endif @@ -115635,7 +113596,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + void TextureParameter(Int32 texture, TextureTarget target, TextureParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115645,7 +113606,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + Delegates.glTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -115656,7 +113617,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + unsafe void TextureParameter(UInt32 texture, TextureTarget target, TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + void TextureParameter(UInt32 texture, TextureTarget target, TextureParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115666,7 +113642,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + Delegates.glTextureParameterfvEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -115674,31 +113650,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + void TextureParameter(Int32 texture, TextureTarget target, TextureParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + Delegates.glTextureParameteriEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32)param); #if DEBUG } #endif @@ -115707,27 +113667,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + void TextureParameter(UInt32 texture, TextureTarget target, TextureParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + Delegates.glTextureParameteriEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32)param); #if DEBUG } #endif @@ -115736,19 +113682,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + unsafe void TextureParameterI(Int32 texture, TextureTarget target, TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } + Delegates.glTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -115756,7 +113696,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + void TextureParameterI(Int32 texture, TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115766,28 +113706,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -115797,7 +113716,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + void TextureParameterI(Int32 texture, TextureTarget target, TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115807,7 +113726,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -115818,13 +113737,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - unsafe void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + unsafe void TextureParameterI(UInt32 texture, TextureTarget target, TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + Delegates.glTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -115833,22 +113752,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + void TextureParameterI(UInt32 texture, TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115856,9 +113760,30 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = @params) { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(UInt32 texture, TextureTarget target, TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -115869,22 +113794,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] public static - unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + void TextureParameterI(UInt32 texture, TextureTarget target, TextureParameterName pname, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115894,7 +113804,43 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glTextureParameterIuivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + unsafe void TextureParameterI(UInt32 texture, TextureTarget target, TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIuivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + void TextureParameterI(UInt32 texture, TextureTarget target, TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTextureParameterIuivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -115905,7 +113851,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + unsafe void TextureParameter(Int32 texture, TextureTarget target, TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + void TextureParameter(Int32 texture, TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115915,7 +113875,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -115923,9 +113883,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + unsafe void TextureParameter(UInt32 texture, TextureTarget target, TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + void TextureParameter(UInt32 texture, TextureTarget target, TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115935,7 +113911,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTextureParameterivEXT((UInt32)texture, (TextureTarget)target, (TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -115943,45 +113919,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] public static - void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + void TextureRenderbuffer(Int32 texture, TextureTarget target, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glTextureRenderbufferEXT((UInt32)texture, (TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -115990,13 +113936,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] public static - void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + void TextureRenderbuffer(UInt32 texture, TextureTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glTextureRenderbufferEXT((UInt32)texture, (TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -116004,7 +113950,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + void TextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T7 pixels) where T7 : struct { #if DEBUG @@ -116014,7 +113960,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116027,7 +113973,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + void TextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[,,] pixels) where T7 : struct { #if DEBUG @@ -116037,7 +113983,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116048,10 +113994,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + void TextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[,] pixels) where T7 : struct { #if DEBUG @@ -116061,7 +114006,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116072,10 +114017,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + void TextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[] pixels) where T7 : struct { #if DEBUG @@ -116085,7 +114029,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116096,10 +114040,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + void TextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T7 pixels) where T7 : struct { #if DEBUG @@ -116109,7 +114067,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116120,24 +114078,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + void TextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[,,] pixels) where T7 : struct { #if DEBUG @@ -116147,7 +114091,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116158,9 +114102,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + void TextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[,] pixels) where T7 : struct { #if DEBUG @@ -116170,7 +114115,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116184,21 +114129,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + void TextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, [In, Out] T7[] pixels) where T7 : struct { #if DEBUG @@ -116208,7 +114139,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116220,9 +114151,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 width, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -116232,7 +114177,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116245,7 +114190,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void TextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -116255,7 +114200,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116266,10 +114211,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + void TextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -116279,7 +114223,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116292,7 +114236,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -116302,7 +114246,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116313,10 +114257,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -116326,7 +114284,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116337,9 +114295,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -116349,7 +114308,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116360,9 +114319,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[,] pixels) where T9 : struct { #if DEBUG @@ -116372,7 +114332,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116386,36 +114346,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] T9[] pixels) where T9 : struct { #if DEBUG @@ -116425,7 +114356,45 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116438,7 +114407,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + void TextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[,,] pixels) where T11 : struct { #if DEBUG @@ -116448,7 +114417,91 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116462,7 +114515,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + void TextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[,,] pixels) where T11 : struct { #if DEBUG @@ -116472,30 +114525,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116509,7 +114539,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + void TextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[,] pixels) where T11 : struct { #if DEBUG @@ -116519,59 +114549,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116585,7 +114563,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + void TextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] T11[] pixels) where T11 : struct { #if DEBUG @@ -116595,30 +114573,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -116632,22 +114587,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) - where T11 : struct + void TextureSubImage3D(UInt32 texture, TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glTextureSubImage3DEXT((UInt32)texture, (TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -116655,13 +114601,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, ExtTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ExtTransformFeedback)bufferMode); + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (ExtTransformFeedback)bufferMode); #if DEBUG } #endif @@ -116670,13 +114616,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, ExtTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ExtTransformFeedback)bufferMode); + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (ExtTransformFeedback)bufferMode); #if DEBUG } #endif @@ -116696,7 +114642,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static void Uniform1(Int32 location, Int32 v0) @@ -116725,7 +114670,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static @@ -116755,73 +114699,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -116851,42 +114728,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -116921,7 +114762,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -116957,7 +114831,98 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] + public static + void Uniform2(Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] public static @@ -116987,16 +114952,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); #if DEBUG } #endif @@ -117016,7 +114981,40 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static @@ -117052,72 +115050,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static @@ -117147,7 +115079,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static @@ -117183,7 +115114,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -117212,7 +115142,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static @@ -117242,7 +115171,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -117277,7 +115268,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -117313,37 +115303,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -117373,7 +115332,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -117409,22 +115367,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] public static - void Uniform3(Int32 location, Int32 count, Int32[] value) + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); #if DEBUG } #endif @@ -117444,7 +115395,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] public static @@ -117474,101 +115424,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -117598,7 +115453,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static void Uniform4(Int32 location, Int32 count, Int32[] value) @@ -117633,11 +115487,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) + void Uniform4(Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117645,7 +115497,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* value_ptr = value) + fixed (Int32* value_ptr = &value) { Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); } @@ -117669,7 +115521,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -117691,10 +115542,73 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] public static - void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) + void UniformBuffer(Int32 program, Int32 location, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117706,9 +115620,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] public static - void UniformBuffer(Int32 program, Int32 location, Int32 buffer) + void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117734,21 +115649,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] - public static - bool UnmapNamedBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] public static bool UnmapNamedBuffer(Int32 buffer) @@ -117764,21 +115664,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glUnmapNamedBufferEXT")] public static - void Variant(UInt32 id, SByte[] addr) + bool UnmapNamedBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (SByte* addr_ptr = addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } + return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); #if DEBUG } #endif @@ -117821,9 +115715,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] public static - void Variant(UInt32 id, ref Double addr) + void Variant(UInt32 id, SByte[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117831,9 +115725,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* addr_ptr = &addr) + fixed (SByte* addr_ptr = addr) { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); } } #if DEBUG @@ -117844,19 +115738,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void Variant(UInt32 id, Double[] addr) + unsafe void Variant(Int32 id, Double* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); #if DEBUG } #endif @@ -117882,6 +115770,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(Int32 id, ref Double addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = &addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static @@ -117900,21 +115808,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - unsafe void Variant(Int32 id, Double* addr) + void Variant(UInt32 id, Double[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + unsafe + { + fixed (Double* addr_ptr = addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void Variant(Int32 id, ref Double addr) + void Variant(UInt32 id, ref Double addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117955,7 +115870,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - unsafe void Variant(UInt32 id, Single* addr) + unsafe void Variant(Int32 id, Single* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117967,16 +115882,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - unsafe void Variant(Int32 id, Single* addr) + void Variant(Int32 id, Single[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + unsafe + { + fixed (Single* addr_ptr = addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } #if DEBUG } #endif @@ -118006,27 +115926,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - void Variant(UInt32 id, Single[] addr) + unsafe void Variant(UInt32 id, Single* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - void Variant(Int32 id, Single[] addr) + void Variant(UInt32 id, Single[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118047,19 +115962,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] public static - void Variant(UInt32 id, ref Int32 addr) + unsafe void Variant(Int32 id, Int32* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); #if DEBUG } #endif @@ -118085,6 +115994,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(Int32 id, ref Int32 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = &addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + unsafe void Variant(UInt32 id, Int32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] public static @@ -118109,36 +116053,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] public static - unsafe void Variant(UInt32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - unsafe void Variant(Int32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - void Variant(Int32 id, ref Int32 addr) + void Variant(UInt32 id, ref Int32 addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118158,7 +116073,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,] addr) + void VariantPointer(Int32 id, ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) where T3 : struct { #if DEBUG @@ -118168,7 +116083,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -118181,7 +116096,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) + void VariantPointer(Int32 id, ExtVertexShader type, Int32 stride, [In, Out] T3[,,] addr) where T3 : struct { #if DEBUG @@ -118191,7 +116106,91 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, ExtVertexShader type, Int32 stride, [In, Out] T3[,] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, ExtVertexShader type, Int32 stride, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -118205,7 +116204,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) + void VariantPointer(UInt32 id, ExtVertexShader type, UInt32 stride, [In, Out] T3[,,] addr) where T3 : struct { #if DEBUG @@ -118215,7 +116214,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -118229,7 +116228,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,,] addr) + void VariantPointer(UInt32 id, ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) where T3 : struct { #if DEBUG @@ -118239,7 +116238,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -118253,36 +116252,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) + void VariantPointer(UInt32 id, ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) where T3 : struct { #if DEBUG @@ -118292,7 +116262,7 @@ namespace OpenTK.Graphics GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { @@ -118306,68 +116276,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) - where T3 : struct + void VariantPointer(UInt32 id, ExtVertexShader type, UInt32 stride, IntPtr addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } + Delegates.glVariantPointerEXT((UInt32)id, (ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,,] addr) - where T3 : struct + unsafe void Variant(Int32 id, Int16* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); #if DEBUG } #endif @@ -118416,28 +116346,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void Variant(UInt32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - unsafe void Variant(Int32 id, Int16* addr) + unsafe void Variant(UInt32 id, Int16* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118473,13 +116382,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - unsafe void Variant(UInt32 id, Int16* addr) + void Variant(UInt32 id, ref Int16 addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); + unsafe + { + fixed (Int16* addr_ptr = &addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } #if DEBUG } #endif @@ -118488,7 +116403,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - void Variant(UInt32 id, ref Byte addr) + unsafe void Variant(Int32 id, Byte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(Int32 id, Byte[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118496,7 +116425,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* addr_ptr = &addr) + fixed (Byte* addr_ptr = addr) { Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); } @@ -118526,6 +116455,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + unsafe void Variant(UInt32 id, Byte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static @@ -118547,9 +116491,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - void Variant(Int32 id, Byte[] addr) + void Variant(UInt32 id, ref Byte addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118557,7 +116502,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* addr_ptr = addr) + fixed (Byte* addr_ptr = &addr) { Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); } @@ -118567,51 +116512,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - unsafe void Variant(UInt32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - unsafe void Variant(Int32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] - public static - unsafe void Variant(UInt32 id, UInt32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static @@ -118633,6 +116533,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] + public static + unsafe void Variant(UInt32 id, UInt32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static @@ -118675,27 +116590,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] - public static - void Variant(UInt32 id, UInt16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = addr) - { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] public static @@ -118712,15 +116606,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] public static - void VertexAttribI1(UInt32 index, Int32 x) + void Variant(UInt32 id, UInt16[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + unsafe + { + fixed (UInt16* addr_ptr = addr) + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); + } + } #if DEBUG } #endif @@ -118740,10 +116640,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] + public static + void VertexAttribI1(UInt32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) + unsafe void VertexAttribI1(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118758,7 +116673,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] public static - unsafe void VertexAttribI1(Int32 index, Int32* v) + unsafe void VertexAttribI1(UInt32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -118832,19 +116747,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - void VertexAttribI2(UInt32 index, ref Int32 v) + unsafe void VertexAttribI2(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); #if DEBUG } #endif @@ -118890,21 +116799,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static @@ -118941,6 +116835,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] public static @@ -118977,27 +116892,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] public static @@ -119014,15 +116908,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) + void VertexAttribI2(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } #if DEBUG } #endif @@ -119043,15 +116943,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) + void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); #if DEBUG } #endif @@ -119072,6 +116972,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] public static void VertexAttribI3(Int32 index, ref Int32 v) @@ -119095,27 +117015,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] public static - void VertexAttribI3(UInt32 index, Int32[] v) + unsafe void VertexAttribI3(UInt32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] public static - void VertexAttribI3(Int32 index, Int32[] v) + void VertexAttribI3(UInt32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119169,21 +117084,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] public static @@ -119205,6 +117105,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + unsafe void VertexAttribI3(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] public static @@ -119226,21 +117141,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] public static @@ -119262,6 +117162,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] public static @@ -119283,6 +117198,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] public static @@ -119298,15 +117227,56 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + unsafe void VertexAttribI4(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -119327,9 +117297,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] public static - void VertexAttribI4(Int32 index, ref Int32 v) + void VertexAttribI4(UInt32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119337,7 +117308,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Int32* v_ptr = v) { Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); } @@ -119369,56 +117340,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] public static - void VertexAttribI4(UInt32 index, Int32[] v) + unsafe void VertexAttribI4(Int32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); #if DEBUG } #endif @@ -119444,27 +117374,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] public static void VertexAttribI4(Int32 index, ref Int16 v) @@ -119485,6 +117394,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] public static @@ -119506,36 +117451,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] public static @@ -119551,10 +117466,29 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] public static - void VertexAttribI4(UInt32 index, ref Byte v) + void VertexAttribI4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(Int32 index, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119572,21 +117506,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] public static - void VertexAttribI4(Int32 index, Byte[] v) + unsafe void VertexAttribI4(UInt32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); #if DEBUG } #endif @@ -119616,21 +117545,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(Int32 index, ref Byte v) + void VertexAttribI4(UInt32 index, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119663,21 +117578,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] public static @@ -119699,6 +117599,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] public static @@ -119741,6 +117656,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] public static @@ -119762,39 +117692,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -119804,7 +117704,114 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, NvVertexProgram4 type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -119818,7 +117825,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -119828,30 +117835,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -119865,7 +117849,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -119875,30 +117859,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -119912,7 +117873,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -119922,7 +117883,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -119933,47 +117894,48 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct + void VertexAttribIPointer(UInt32 index, Int32 size, NvVertexProgram4 type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -119983,7 +117945,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointerEXT((Int32)size, (VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120018,10 +117980,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -120031,7 +117992,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointerEXT((Int32)size, (VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120066,10 +118027,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -120079,7 +118039,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointerEXT((Int32)size, (VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120114,10 +118074,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -120127,7 +118086,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointerEXT((Int32)size, (VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120162,64 +118121,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + void VertexPointer(Int32 size, VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexPointerEXT((Int32)size, (VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); #if DEBUG } #endif @@ -120256,7 +118166,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,] pointer) + void VertexWeightPointer(Int32 size, ExtVertexWeighting type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -120266,7 +118176,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexWeightPointerEXT((Int32)size, (ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120279,7 +118189,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,,] pointer) + void VertexWeightPointer(Int32 size, ExtVertexWeighting type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -120289,7 +118199,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexWeightPointerEXT((Int32)size, (ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120302,7 +118212,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[] pointer) + void VertexWeightPointer(Int32 size, ExtVertexWeighting type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -120312,7 +118222,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexWeightPointerEXT((Int32)size, (ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120325,21 +118235,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] ref T3 pointer) + void VertexWeightPointer(Int32 size, ExtVertexWeighting type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -120349,7 +118245,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexWeightPointerEXT((Int32)size, (ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -120360,15 +118256,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, ExtVertexWeighting type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightPointerEXT((Int32)size, (ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] public static - void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + void WriteMask(Int32 res, Int32 @in, ExtVertexShader outX, ExtVertexShader outY, ExtVertexShader outZ, ExtVertexShader outW) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (ExtVertexShader)outX, (ExtVertexShader)outY, (ExtVertexShader)outZ, (ExtVertexShader)outW); #if DEBUG } #endif @@ -120377,13 +118287,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] public static - void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + void WriteMask(UInt32 res, UInt32 @in, ExtVertexShader outX, ExtVertexShader outY, ExtVertexShader outZ, ExtVertexShader outW) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (ExtVertexShader)outX, (ExtVertexShader)outY, (ExtVertexShader)outZ, (ExtVertexShader)outW); #if DEBUG } #endif @@ -120409,7 +118319,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static - void StringMarker(Int32 len, [In, Out] T1[,] @string) + void StringMarker(Int32 len, [In, Out] ref T1 @string) where T1 : struct { #if DEBUG @@ -120455,21 +118365,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static - void StringMarker(Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [In, Out] ref T1 @string) + void StringMarker(Int32 len, [In, Out] T1[,] @string) where T1 : struct { #if DEBUG @@ -120513,13 +118409,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + } public static partial class HP { [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] out Single @params) + void GetImageTransformParameter(HpImageTransform target, HpImageTransform pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120529,7 +118439,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); + Delegates.glGetImageTransformParameterfvHP((HpImageTransform)target, (HpImageTransform)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -120538,36 +118448,51 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] public static - unsafe void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params) + unsafe void GetImageTransformParameter(HpImageTransform target, HpImageTransform pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params); + Delegates.glGetImageTransformParameterfvHP((HpImageTransform)target, (HpImageTransform)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] + public static + void GetImageTransformParameter(HpImageTransform target, HpImageTransform pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetImageTransformParameterfvHP((HpImageTransform)target, (HpImageTransform)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + unsafe void GetImageTransformParameter(HpImageTransform target, HpImageTransform pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetImageTransformParameterivHP((HpImageTransform)target, (HpImageTransform)pname, (Int32*)@params); #if DEBUG } #endif @@ -120575,7 +118500,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] out Int32 @params) + void GetImageTransformParameter(HpImageTransform target, HpImageTransform pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetImageTransformParameterivHP((HpImageTransform)target, (HpImageTransform)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + void GetImageTransformParameter(HpImageTransform target, HpImageTransform pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120585,7 +118530,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); + Delegates.glGetImageTransformParameterivHP((HpImageTransform)target, (HpImageTransform)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -120594,50 +118539,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterfHP")] public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32[] @params) + void ImageTransformParameter(HpImageTransform target, HpImageTransform pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); - } - } + Delegates.glImageTransformParameterfHP((HpImageTransform)target, (HpImageTransform)pname, (Single)param); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterfvHP")] public static - unsafe void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32* @params) + unsafe void ImageTransformParameter(HpImageTransform target, HpImageTransform pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterfHP")] - public static - void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterfHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single)param); + Delegates.glImageTransformParameterfvHP((HpImageTransform)target, (HpImageTransform)pname, (Single*)@params); #if DEBUG } #endif @@ -120645,7 +118570,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterfvHP")] public static - void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single[] @params) + void ImageTransformParameter(HpImageTransform target, HpImageTransform pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120655,7 +118580,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); + Delegates.glImageTransformParameterfvHP((HpImageTransform)target, (HpImageTransform)pname, (Single*)@params_ptr); } } #if DEBUG @@ -120663,30 +118588,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterfvHP")] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameteriHP")] public static - unsafe void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single* @params) + void ImageTransformParameter(HpImageTransform target, HpImageTransform pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params); + Delegates.glImageTransformParameteriHP((HpImageTransform)target, (HpImageTransform)pname, (Int32)param); #if DEBUG } #endif } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameteriHP")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] public static - void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32 param) + unsafe void ImageTransformParameter(HpImageTransform target, HpImageTransform pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glImageTransformParameteriHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32)param); + Delegates.glImageTransformParameterivHP((HpImageTransform)target, (HpImageTransform)pname, (Int32*)@params); #if DEBUG } #endif @@ -120694,7 +118619,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] public static - void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32[] @params) + void ImageTransformParameter(HpImageTransform target, HpImageTransform pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120704,7 +118629,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); + Delegates.glImageTransformParameterivHP((HpImageTransform)target, (HpImageTransform)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -120712,28 +118637,13 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] - public static - unsafe void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - } public static partial class Ibm { [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -120743,7 +118653,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glColorPointerListIBM((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -120756,21 +118666,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -120780,7 +118676,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glColorPointerListIBM((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -120793,7 +118689,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -120803,7 +118699,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glColorPointerListIBM((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -120816,7 +118712,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -120826,7 +118722,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glColorPointerListIBM((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -120837,6 +118733,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointerListIBM((Int32)size, (ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] public static @@ -120852,26 +118762,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] - public static - void EdgeFlagPointerList(Int32 stride, ref bool pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = &pointer) - { - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] public static void EdgeFlagPointerList(Int32 stride, bool[] pointer, Int32 ptrstride) @@ -120892,221 +118782,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] 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.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] 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.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] 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.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - void MultiModeDrawArrays(ref OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) + void EdgeFlagPointerList(Int32 stride, ref bool pointer, Int32 ptrstride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121114,11 +118792,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) + fixed (bool* pointer_ptr = &pointer) { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride); } } #if DEBUG @@ -121126,9 +118802,236 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(IbmVertexArrayLists type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(IbmVertexArrayLists type, Int32 stride, [In, Out] 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((IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(IbmVertexArrayLists type, Int32 stride, [In, Out] 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((IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(IbmVertexArrayLists type, Int32 stride, [In, Out] 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((IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerListIBM((IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(IndexPointerType type, Int32 stride, [In, Out] 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.glIndexPointerListIBM((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(IndexPointerType type, Int32 stride, [In, Out] 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.glIndexPointerListIBM((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(IndexPointerType type, Int32 stride, [In, Out] 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.glIndexPointerListIBM((IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointerListIBM((IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] public static - void MultiModeDrawArrays(OpenTK.Graphics.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawArrays(BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawArraysIBM((BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + void MultiModeDrawArrays(BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121136,11 +119039,11 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (BeginMode* mode_ptr = mode) fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = count) { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawArraysIBM((BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } } #if DEBUG @@ -121148,25 +119051,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] public static - unsafe void MultiModeDrawArrays(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct + void MultiModeDrawArrays(ref BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121174,78 +119061,11 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (BeginMode* mode_ptr = &mode) + fixed (Int32* first_ptr = &first) fixed (Int32* count_ptr = &count) { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } + Delegates.glMultiModeDrawArraysIBM((BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); } } #if DEBUG @@ -121256,7 +119076,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(BeginMode* mode, Int32* count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -121266,7 +119086,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { @@ -121280,13 +119100,85 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(BeginMode* mode, Int32* count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(BeginMode* mode, Int32* count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(BeginMode* mode, Int32* count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(BeginMode* mode, Int32* count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode, (Int32*)count, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); #if DEBUG } #endif @@ -121294,7 +119186,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(BeginMode[] mode, Int32[] count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -121303,13 +119195,13 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = count) { GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { @@ -121324,7 +119216,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(BeginMode[] mode, Int32[] count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -121333,13 +119225,13 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = count) { GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { @@ -121354,7 +119246,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(BeginMode[] mode, Int32[] count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -121363,13 +119255,13 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = count) { GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { @@ -121384,7 +119276,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(BeginMode[] mode, Int32[] count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -121393,13 +119285,64 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(BeginMode[] mode, Int32[] count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = &count) { GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { @@ -121414,49 +119357,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -121465,13 +119366,13 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) + fixed (BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) { GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); } finally { @@ -121484,72 +119385,81 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try + unsafe { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + fixed (BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } } #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref BeginMode mode, ref Int32 count, DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try + unsafe { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + fixed (BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } } #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct + void MultiModeDrawElements(ref BeginMode mode, ref Int32 count, DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try + unsafe { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + fixed (BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawElementsIBM((BeginMode*)mode_ptr, (Int32*)count_ptr, (DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } } #if DEBUG } @@ -121558,7 +119468,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + void NormalPointerList(NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -121568,7 +119478,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glNormalPointerListIBM((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121581,7 +119491,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) + void NormalPointerList(NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -121591,7 +119501,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glNormalPointerListIBM((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121604,21 +119514,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + void NormalPointerList(NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -121628,7 +119524,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glNormalPointerListIBM((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121641,7 +119537,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) + void NormalPointerList(NormalPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -121651,7 +119547,44 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glNormalPointerListIBM((NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointerListIBM((NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, IbmVertexArrayLists type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121664,7 +119597,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121674,7 +119607,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glSecondaryColorPointerListIBM((Int32)size, (IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121687,21 +119620,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121711,7 +119630,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glSecondaryColorPointerListIBM((Int32)size, (IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121724,7 +119643,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, IbmVertexArrayLists type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121734,7 +119653,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glSecondaryColorPointerListIBM((Int32)size, (IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121747,7 +119666,21 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointerListIBM((Int32)size, (IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121757,7 +119690,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glTexCoordPointerListIBM((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121770,7 +119703,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + void TexCoordPointerList(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121780,7 +119713,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glTexCoordPointerListIBM((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121793,7 +119726,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void TexCoordPointerList(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121803,7 +119736,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glTexCoordPointerListIBM((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121816,7 +119749,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + void TexCoordPointerList(Int32 size, TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121826,7 +119759,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glTexCoordPointerListIBM((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121839,21 +119772,21 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + void TexCoordPointerList(Int32 size, TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + Delegates.glTexCoordPointerListIBM((Int32)size, (TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); #if DEBUG } #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121863,7 +119796,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glVertexPointerListIBM((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121876,7 +119809,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121886,7 +119819,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glVertexPointerListIBM((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121899,7 +119832,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121909,7 +119842,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glVertexPointerListIBM((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121922,7 +119855,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, VertexPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -121932,7 +119865,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glVertexPointerListIBM((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -121945,36 +119878,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] - public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexPointerListIBM((Int32)size, (VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); #if DEBUG } #endif @@ -122008,16 +119918,15 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// - [AutoGenerated(Category = "IngrBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateINGR")] public static - void BlendFuncSeparate(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha) + void BlendFuncSeparate(All sfactorRGB, All dfactorRGB, All sfactorAlpha, All dfactorAlpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.All)sfactorRGB, (OpenTK.Graphics.All)dfactorRGB, (OpenTK.Graphics.All)sfactorAlpha, (OpenTK.Graphics.All)dfactorAlpha); + Delegates.glBlendFuncSeparateINGR((All)sfactorRGB, (All)dfactorRGB, (All)sfactorAlpha, (All)dfactorAlpha); #if DEBUG } #endif @@ -122051,10 +119960,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + void ColorPointer(Int32 size, VertexPointerType type, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -122064,7 +119972,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122099,49 +120007,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + void ColorPointer(Int32 size, VertexPointerType type, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -122151,7 +120019,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122186,10 +120054,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + void ColorPointer(Int32 size, VertexPointerType type, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -122199,7 +120066,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122234,10 +120101,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + void ColorPointer(Int32 size, VertexPointerType type, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -122247,7 +120113,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122259,6 +120125,44 @@ namespace OpenTK.Graphics } + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Define an array of normals /// @@ -122277,10 +120181,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[,] pointer) + void NormalPointer(NormalPointerType type, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -122290,7 +120193,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointervINTEL((NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122320,10 +120223,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[,,] pointer) + void NormalPointer(NormalPointerType type, [In, Out] T1[,,] pointer) where T1 : struct { #if DEBUG @@ -122333,7 +120235,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointervINTEL((NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122363,10 +120265,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[] pointer) + void NormalPointer(NormalPointerType type, [In, Out] T1[,] pointer) where T1 : struct { #if DEBUG @@ -122376,7 +120277,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointervINTEL((NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122406,44 +120307,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] ref T1 pointer) + void NormalPointer(NormalPointerType type, [In, Out] T1[] pointer) where T1 : struct { #if DEBUG @@ -122453,7 +120319,87 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointervINTEL((NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(NormalPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointervINTEL((NormalPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, VertexPointerType type, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122488,10 +120434,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + void TexCoordPointer(Int32 size, VertexPointerType type, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -122501,7 +120446,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122536,49 +120481,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + void TexCoordPointer(Int32 size, VertexPointerType type, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -122588,7 +120493,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122623,10 +120528,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + void TexCoordPointer(Int32 size, VertexPointerType type, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -122636,7 +120540,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122671,10 +120575,47 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + void TexCoordPointer(Int32 size, VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, VertexPointerType type, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -122684,7 +120625,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122719,10 +120660,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + void VertexPointer(Int32 size, VertexPointerType type, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -122732,7 +120672,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122767,10 +120707,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + void VertexPointer(Int32 size, VertexPointerType type, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -122780,7 +120719,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122815,10 +120754,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + void VertexPointer(Int32 size, VertexPointerType type, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -122828,7 +120766,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -122863,64 +120801,15 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) + void VertexPointer(Int32 size, VertexPointerType type, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexPointervINTEL((Int32)size, (VertexPointerType)type, (IntPtr)pointer); #if DEBUG } #endif @@ -122953,7 +120842,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dMESA")] public static void WindowPos2(Double x, Double y) @@ -122977,7 +120865,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static @@ -123002,37 +120889,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] - public static - void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos2dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static void WindowPos2(Double[] v) @@ -123062,7 +120918,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] + public static + void WindowPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos2dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fMESA")] public static void WindowPos2(Single x, Single y) @@ -123086,32 +120970,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fvMESA((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static void WindowPos2(ref Single v) @@ -123141,7 +120999,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] + public static + unsafe void WindowPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fvMESA((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static void WindowPos2(Single[] v) @@ -123171,7 +121052,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iMESA")] public static void WindowPos2(Int32 x, Int32 y) @@ -123195,7 +121075,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static @@ -123220,37 +121099,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static void WindowPos2(Int32[] v) @@ -123280,7 +121128,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] + public static + void WindowPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos2ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sMESA")] public static void WindowPos2(Int16 x, Int16 y) @@ -123304,7 +121180,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static @@ -123329,37 +121204,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static void WindowPos2(Int16[] v) @@ -123389,7 +121233,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] + public static + void WindowPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos2svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dMESA")] public static void WindowPos3(Double x, Double y, Double z) @@ -123413,7 +121285,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static @@ -123438,37 +121309,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static void WindowPos3(Double[] v) @@ -123498,7 +121338,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fMESA")] public static void WindowPos3(Single x, Single y, Single z) @@ -123522,32 +121390,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fvMESA((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static void WindowPos3(ref Single v) @@ -123577,7 +121419,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fvMESA((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static void WindowPos3(Single[] v) @@ -123607,7 +121472,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iMESA")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -123631,7 +121495,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static @@ -123656,37 +121519,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static void WindowPos3(Int32[] v) @@ -123716,7 +121548,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sMESA")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -123740,7 +121600,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static @@ -123765,37 +121624,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static void WindowPos3(Int16[] v) @@ -123825,7 +121653,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] + public static + void WindowPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos3svMESA((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dMESA")] public static void WindowPos4(Double x, Double y, Double z, Double w) @@ -123849,7 +121705,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static @@ -123874,37 +121729,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] - public static - void WindowPos4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos4dvMESA((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static void WindowPos4(Double[] v) @@ -123934,7 +121758,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] + public static + void WindowPos4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos4dvMESA((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fMESA")] public static void WindowPos4(Single x, Single y, Single z, Single w) @@ -123958,32 +121810,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] - public static - unsafe void WindowPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos4fvMESA((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static void WindowPos4(ref Single v) @@ -124013,7 +121839,30 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] + public static + unsafe void WindowPos4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos4fvMESA((Single*)v); + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static void WindowPos4(Single[] v) @@ -124043,7 +121892,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4iMESA")] public static void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -124067,7 +121915,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static @@ -124092,37 +121939,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] - public static - void WindowPos4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos4ivMESA((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static void WindowPos4(Int32[] v) @@ -124152,7 +121968,35 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] + public static + void WindowPos4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos4ivMESA((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4sMESA")] public static void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -124176,7 +122020,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static @@ -124201,37 +122044,6 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] - public static - void WindowPos4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos4svMESA((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static void WindowPos4(Int16[] v) @@ -124252,25 +122064,39 @@ namespace OpenTK.Graphics #endif } - } - - public static partial class NV - { - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static - void ActiveVarying(UInt32 program, String name) + void WindowPos4(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glActiveVaryingNV((UInt32)program, (String)name); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos4svMESA((Int16*)v_ptr); + } + } #if DEBUG } #endif } + } + + public static partial class NV + { [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] public static void ActiveVarying(Int32 program, String name) @@ -124285,10 +122111,39 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] + public static + void ActiveVarying(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveVaryingNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static - bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences) + unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, Int32[] programs, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124296,12 +122151,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) + fixed (Int32* programs_ptr = programs) + fixed (bool* residences_ptr = residences) { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); } } #if DEBUG @@ -124335,13 +122188,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static - unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences) + bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + unsafe + { + fixed (UInt32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } #if DEBUG } #endif @@ -124362,27 +122224,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, Int32[] programs, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static @@ -124405,30 +122246,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.NvConditionalRender mode) + void BeginConditionalRender(Int32 id, NvConditionalRender mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.NvConditionalRender)mode); + Delegates.glBeginConditionalRenderNV((UInt32)id, (NvConditionalRender)mode); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.NvConditionalRender mode) + void BeginConditionalRender(UInt32 id, NvConditionalRender mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.NvConditionalRender)mode); + Delegates.glBeginConditionalRenderNV((UInt32)id, (NvConditionalRender)mode); #if DEBUG } #endif @@ -124465,13 +122306,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBeginTransformFeedbackNV")] public static - void BeginTransformFeedback(OpenTK.Graphics.NvTransformFeedback primitiveMode) + void BeginTransformFeedback(NvTransformFeedback primitiveMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback)primitiveMode); + Delegates.glBeginTransformFeedbackNV((NvTransformFeedback)primitiveMode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] + public static + void BindBufferBase(NvTransformFeedback target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseNV((NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); #if DEBUG } #endif @@ -124480,27 +122335,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] public static - void BindBufferBase(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer) + void BindBufferBase(NvTransformFeedback target, UInt32 index, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); + Delegates.glBindBufferBaseNV((NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); #if DEBUG } #endif @@ -124508,13 +122349,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] public static - void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + void BindBufferOffset(NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + Delegates.glBindBufferOffsetNV((NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); #if DEBUG } #endif @@ -124523,13 +122364,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] public static - void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + void BindBufferOffset(NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + Delegates.glBindBufferOffsetNV((NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] + public static + void BindBufferRange(NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeNV((NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif @@ -124538,27 +122393,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] public static - void BindBufferRange(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + void BindBufferRange(NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + Delegates.glBindBufferRangeNV((NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif } - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] public static - void BindBufferRange(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + void BindProgram(AssemblyProgramTargetArb target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + Delegates.glBindProgramNV((AssemblyProgramTargetArb)target, (UInt32)id); #if DEBUG } #endif @@ -124567,27 +122422,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id) + void BindProgram(AssemblyProgramTargetArb target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] - public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); + Delegates.glBindProgramNV((AssemblyProgramTargetArb)target, (UInt32)id); #if DEBUG } #endif @@ -124595,13 +122436,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] public static - void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, Int32 id) + void BindTransformFeedback(NvTransformFeedback2 target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); + Delegates.glBindTransformFeedbackNV((NvTransformFeedback2)target, (UInt32)id); #if DEBUG } #endif @@ -124610,13 +122451,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] public static - void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, UInt32 id) + void BindTransformFeedback(NvTransformFeedback2 target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); + Delegates.glBindTransformFeedbackNV((NvTransformFeedback2)target, (UInt32)id); #if DEBUG } #endif @@ -124631,7 +122472,6 @@ namespace OpenTK.Graphics /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. /// /// - [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glClearDepthdNV")] public static void ClearDepth(Double depth) @@ -124660,26 +122500,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] - public static - void Color3h(ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glColor3hvNV((OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] public static @@ -124715,6 +122535,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + void Color3h(ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glColor3hvNV((OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hNV")] public static void Color4h(OpenTK.Half red, OpenTK.Half green, OpenTK.Half blue, OpenTK.Half alpha) @@ -124786,13 +122626,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerInputNV")] public static - void CombinerInput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) + void CombinerInput(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners input, NvRegisterCombiners mapping, NvRegisterCombiners componentUsage) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerInputNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)input, (OpenTK.Graphics.NvRegisterCombiners)mapping, (OpenTK.Graphics.NvRegisterCombiners)componentUsage); + Delegates.glCombinerInputNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)input, (NvRegisterCombiners)mapping, (NvRegisterCombiners)componentUsage); #if DEBUG } #endif @@ -124800,13 +122640,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerOutputNV")] public static - void CombinerOutput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners abOutput, OpenTK.Graphics.NvRegisterCombiners cdOutput, OpenTK.Graphics.NvRegisterCombiners sumOutput, OpenTK.Graphics.NvRegisterCombiners scale, OpenTK.Graphics.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) + void CombinerOutput(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners abOutput, NvRegisterCombiners cdOutput, NvRegisterCombiners sumOutput, NvRegisterCombiners scale, NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerOutputNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)abOutput, (OpenTK.Graphics.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.NvRegisterCombiners)scale, (OpenTK.Graphics.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); + Delegates.glCombinerOutputNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)abOutput, (NvRegisterCombiners)cdOutput, (NvRegisterCombiners)sumOutput, (NvRegisterCombiners)scale, (NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); #if DEBUG } #endif @@ -124814,13 +122654,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfNV")] public static - void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single param) + void CombinerParameter(NvRegisterCombiners pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerParameterfNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single)param); + Delegates.glCombinerParameterfNV((NvRegisterCombiners)pname, (Single)param); #if DEBUG } #endif @@ -124829,13 +122669,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] public static - unsafe void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single* @params) + unsafe void CombinerParameter(NvRegisterCombiners pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); + Delegates.glCombinerParameterfvNV((NvRegisterCombiners)pname, (Single*)@params); #if DEBUG } #endif @@ -124843,7 +122683,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] public static - void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single[] @params) + void CombinerParameter(NvRegisterCombiners pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124853,7 +122693,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glCombinerParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + Delegates.glCombinerParameterfvNV((NvRegisterCombiners)pname, (Single*)@params_ptr); } } #if DEBUG @@ -124863,13 +122703,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameteriNV")] public static - void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param) + void CombinerParameter(NvRegisterCombiners pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerParameteriNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Int32)param); + Delegates.glCombinerParameteriNV((NvRegisterCombiners)pname, (Int32)param); #if DEBUG } #endif @@ -124878,13 +122718,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterivNV")] public static - unsafe void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Int32* @params) + unsafe void CombinerParameter(NvRegisterCombiners pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerParameterivNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + Delegates.glCombinerParameterivNV((NvRegisterCombiners)pname, (Int32*)@params); #if DEBUG } #endif @@ -124892,7 +122732,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterivNV")] public static - void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Int32[] @params) + void CombinerParameter(NvRegisterCombiners pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124902,7 +122742,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glCombinerParameterivNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + Delegates.glCombinerParameterivNV((NvRegisterCombiners)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -124912,7 +122752,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static - void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single[] @params) + void CombinerStageParameter(NvRegisterCombiners2 stage, NvRegisterCombiners2 pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124920,9 +122760,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); + Delegates.glCombinerStageParameterfvNV((NvRegisterCombiners2)stage, (NvRegisterCombiners2)pname, (Single*)@params_ptr); } } #if DEBUG @@ -124933,13 +122773,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static - unsafe void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params) + unsafe void CombinerStageParameter(NvRegisterCombiners2 stage, NvRegisterCombiners2 pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); + Delegates.glCombinerStageParameterfvNV((NvRegisterCombiners2)stage, (NvRegisterCombiners2)pname, (Single*)@params); #if DEBUG } #endif @@ -124947,7 +122787,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static - void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, ref Single @params) + void CombinerStageParameter(NvRegisterCombiners2 stage, NvRegisterCombiners2 pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124955,9 +122795,64 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); + Delegates.glCombinerStageParameterfvNV((NvRegisterCombiners2)stage, (NvRegisterCombiners2)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); } } #if DEBUG @@ -124986,21 +122881,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static - void DeleteFences(Int32 n, Int32[] fences) + unsafe void DeleteFences(Int32 n, UInt32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); #if DEBUG } #endif @@ -125028,50 +122918,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] public static - unsafe void DeleteFences(Int32 n, Int32* fences) + unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); #if DEBUG } #endif @@ -125097,16 +122952,42 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] public static - unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) + void DeleteOcclusionQueries(Int32 n, ref Int32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } #if DEBUG } #endif @@ -125148,47 +123029,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Deletes a program object @@ -125198,11 +123038,10 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) + unsafe void DeleteProgram(Int32 n, Int32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125223,7 +123062,64 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -125254,22 +123150,16 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static - void DeleteProgram(Int32 n, ref Int32 programs) + unsafe void DeleteProgram(Int32 n, UInt32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); #if DEBUG } #endif @@ -125284,7 +123174,6 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -125306,19 +123195,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] public static - void DeleteProgram(Int32 n, Int32[] programs) + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, Int32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125326,9 +123220,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* programs_ptr = programs) + fixed (Int32* ids_ptr = ids) { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); } } #if DEBUG @@ -125336,26 +123230,21 @@ namespace OpenTK.Graphics #endif } - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] public static - unsafe void DeleteProgram(Int32 n, Int32* programs) + void DeleteTransformFeedback(Int32 n, ref Int32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } #if DEBUG } #endif @@ -125382,21 +123271,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] public static - void DeleteTransformFeedback(Int32 n, Int32[] ids) + unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); #if DEBUG } #endif @@ -125423,56 +123307,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedback(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthBoundsdNV")] public static void DepthBounds(Double zmin, Double zmax) @@ -125501,7 +123335,6 @@ namespace OpenTK.Graphics /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. /// /// - [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthRangedNV")] public static void DepthRange(Double zNear, Double zFar) @@ -125518,13 +123351,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] public static - void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, Int32 id) + void DrawTransformFeedback(NvTransformFeedback2 mode, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)mode, (UInt32)id); + Delegates.glDrawTransformFeedbackNV((NvTransformFeedback2)mode, (UInt32)id); #if DEBUG } #endif @@ -125533,13 +123366,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] public static - void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id) + void DrawTransformFeedback(NvTransformFeedback2 mode, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)mode, (UInt32)id); + Delegates.glDrawTransformFeedbackNV((NvTransformFeedback2)mode, (UInt32)id); #if DEBUG } #endif @@ -125589,64 +123422,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glEvalMapsNV")] public static - void EvalMap(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators mode) + void EvalMap(NvEvaluators target, NvEvaluators mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEvalMapsNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)mode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } + Delegates.glEvalMapsNV((NvEvaluators)target, (NvEvaluators)mode); #if DEBUG } #endif @@ -125654,7 +123436,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, ref Single @params) + void ExecuteProgram(AssemblyProgramTargetArb target, Int32 id, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125664,7 +123446,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + Delegates.glExecuteProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); } } #if DEBUG @@ -125675,19 +123457,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) + unsafe void ExecuteProgram(AssemblyProgramTargetArb target, Int32 id, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } + Delegates.glExecuteProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); #if DEBUG } #endif @@ -125695,7 +123471,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single[] @params) + void ExecuteProgram(AssemblyProgramTargetArb target, Int32 id, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125705,7 +123481,64 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + Delegates.glExecuteProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(AssemblyProgramTargetArb target, UInt32 id, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glExecuteProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(AssemblyProgramTargetArb target, UInt32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(AssemblyProgramTargetArb target, UInt32 id, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glExecuteProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); } } #if DEBUG @@ -125715,13 +123548,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glFinalCombinerInputNV")] public static - void FinalCombinerInput(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) + void FinalCombinerInput(NvRegisterCombiners variable, NvRegisterCombiners input, NvRegisterCombiners mapping, NvRegisterCombiners componentUsage) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFinalCombinerInputNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)input, (OpenTK.Graphics.NvRegisterCombiners)mapping, (OpenTK.Graphics.NvRegisterCombiners)componentUsage); + Delegates.glFinalCombinerInputNV((NvRegisterCombiners)variable, (NvRegisterCombiners)input, (NvRegisterCombiners)mapping, (NvRegisterCombiners)componentUsage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); #if DEBUG } #endif @@ -125742,29 +123589,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glFlushPixelDataRangeNV")] public static - void FlushPixelDataRange(OpenTK.Graphics.NvPixelDataRange target) + void FlushPixelDataRange(NvPixelDataRange target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target); + Delegates.glFlushPixelDataRangeNV((NvPixelDataRange)target); #if DEBUG } #endif @@ -125816,20 +123649,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static - void GenFences(Int32 n, [Out] out UInt32 fences) + unsafe void GenFences(Int32 n, [Out] Int32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); #if DEBUG } #endif @@ -125855,42 +123681,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [Out] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] - public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static void GenFences(Int32 n, [Out] out Int32 fences) @@ -125912,6 +123702,28 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [Out] out UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static @@ -125927,6 +123739,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [Out] UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static void GenOcclusionQueries(Int32 n, [Out] Int32[] ids) @@ -125947,27 +123795,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static void GenOcclusionQueries(Int32 n, [Out] out Int32 ids) @@ -126014,7 +123841,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static - unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) + unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126029,13 +123856,54 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static - unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids) + void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + unsafe void GenProgram(Int32 n, [Out] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [Out] Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } #if DEBUG } #endif @@ -126065,13 +123933,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) + void GenProgram(Int32 n, [Out] out UInt32 programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } #if DEBUG } #endif @@ -126080,7 +123955,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126113,43 +123988,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static - void GenProgram(Int32 n, [Out] out UInt32 programs) + unsafe void GenTransformFeedback(Int32 n, [Out] Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); #if DEBUG } #endif @@ -126175,10 +124023,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static - void GenTransformFeedback(Int32 n, [Out] UInt32[] ids) + void GenTransformFeedback(Int32 n, [Out] out Int32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126186,9 +124033,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* ids_ptr = ids) + fixed (Int32* ids_ptr = &ids) { Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; } } #if DEBUG @@ -126196,21 +124044,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - unsafe void GenTransformFeedback(Int32 n, [Out] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static @@ -126248,9 +124081,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static - void GenTransformFeedback(Int32 n, [Out] out Int32 ids) + void GenTransformFeedback(Int32 n, [Out] UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126258,10 +124092,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = &ids) + fixed (UInt32* ids_ptr = ids) { Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; } } #if DEBUG @@ -126272,22 +124105,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] NvTransformFeedback* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (NvTransformFeedback*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out NvTransformFeedback type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126297,34 +124129,9 @@ namespace OpenTK.Graphics { fixed (Int32* length_ptr = &length) fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) + fixed (NvTransformFeedback* type_ptr = &type) { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); length = *length_ptr; size = *size_ptr; type = *type_ptr; @@ -126338,36 +124145,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] NvTransformFeedback* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (NvTransformFeedback*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out NvTransformFeedback type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126375,10 +124168,14 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (NvTransformFeedback* type_ptr = &type) { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } #if DEBUG @@ -126388,7 +124185,43 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + void GetCombinerInputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerInputParameterfvNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + unsafe void GetCombinerInputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerInputParameterfvNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + void GetCombinerInputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126398,7 +124231,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + Delegates.glGetCombinerInputParameterfvNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Single*)@params_ptr); } } #if DEBUG @@ -126409,13 +124242,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + unsafe void GetCombinerInputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + Delegates.glGetCombinerInputParameterivNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Int32*)@params); #if DEBUG } #endif @@ -126423,7 +124256,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) + void GetCombinerInputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126431,10 +124264,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetCombinerInputParameterivNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -126444,7 +124276,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) + void GetCombinerInputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126452,9 +124284,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + Delegates.glGetCombinerInputParameterivNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -126462,24 +124295,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] public static - unsafe void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) + void GetCombinerOutputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126489,7 +124307,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + Delegates.glGetCombinerOutputParameterfvNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -126498,9 +124316,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + unsafe void GetCombinerOutputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerOutputParameterfvNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + void GetCombinerOutputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126510,7 +124343,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + Delegates.glGetCombinerOutputParameterfvNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)pname, (Single*)@params_ptr); } } #if DEBUG @@ -126521,13 +124354,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] public static - unsafe void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + unsafe void GetCombinerOutputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + Delegates.glGetCombinerOutputParameterivNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)pname, (Int32*)@params); #if DEBUG } #endif @@ -126535,28 +124368,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) + void GetCombinerOutputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126566,7 +124378,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + Delegates.glGetCombinerOutputParameterivNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -126574,16 +124386,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] public static - unsafe void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params) + void GetCombinerOutputParameter(NvRegisterCombiners stage, NvRegisterCombiners portion, NvRegisterCombiners pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetCombinerOutputParameterivNV((NvRegisterCombiners)stage, (NvRegisterCombiners)portion, (NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -126591,7 +124409,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] public static - void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] out Single @params) + void GetCombinerStageParameter(NvRegisterCombiners2 stage, NvRegisterCombiners2 pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126601,7 +124419,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); + Delegates.glGetCombinerStageParameterfvNV((NvRegisterCombiners2)stage, (NvRegisterCombiners2)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -126610,9 +124428,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] public static - void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single[] @params) + unsafe void GetCombinerStageParameter(NvRegisterCombiners2 stage, NvRegisterCombiners2 pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerStageParameterfvNV((NvRegisterCombiners2)stage, (NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + void GetCombinerStageParameter(NvRegisterCombiners2 stage, NvRegisterCombiners2 pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126622,7 +124455,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); + Delegates.glGetCombinerStageParameterfvNV((NvRegisterCombiners2)stage, (NvRegisterCombiners2)pname, (Single*)@params_ptr); } } #if DEBUG @@ -126633,7 +124466,41 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static - void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] out Int32 @params) + unsafe void GetFence(Int32 fence, NvFence pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, NvFence pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFenceivNV((UInt32)fence, (NvFence)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, NvFence pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126643,7 +124510,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); + Delegates.glGetFenceivNV((UInt32)fence, (NvFence)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -126652,9 +124519,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static - void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) + unsafe void GetFence(UInt32 fence, NvFence pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(UInt32 fence, NvFence pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126664,7 +124547,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); + Delegates.glGetFenceivNV((UInt32)fence, (NvFence)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -126675,57 +124558,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static - void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] out Int32 @params) + void GetFence(UInt32 fence, NvFence pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126735,7 +124568,28 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); + Delegates.glGetFenceivNV((UInt32)fence, (NvFence)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + public static + void GetFinalCombinerInputParameter(NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFinalCombinerInputParameterfvNV((NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -126747,13 +124601,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) + unsafe void GetFinalCombinerInputParameter(NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); + Delegates.glGetFinalCombinerInputParameterfvNV((NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Single*)@params); #if DEBUG } #endif @@ -126761,28 +124615,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + void GetFinalCombinerInputParameter(NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126792,48 +124625,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetFinalCombinerInputParameterfvNV((NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Single*)@params_ptr); } } #if DEBUG @@ -126844,157 +124636,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + unsafe void GetFinalCombinerInputParameter(NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + Delegates.glGetFinalCombinerInputParameterivNV((NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Int32*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + void GetFinalCombinerInputParameter(NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127004,7 +124660,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glGetFinalCombinerInputParameterivNV((NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -127012,60 +124668,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) + void GetFinalCombinerInputParameter(NvRegisterCombiners variable, NvRegisterCombiners pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127075,7 +124680,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glGetFinalCombinerInputParameterivNV((NvRegisterCombiners)variable, (NvRegisterCombiners)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -127084,241 +124689,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] - public static - unsafe void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] - public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) + void GetMapAttribParameter(NvEvaluators target, Int32 index, NvEvaluators pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127328,7 +124701,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + Delegates.glGetMapAttribParameterfvNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -127337,9 +124710,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) + unsafe void GetMapAttribParameter(NvEvaluators target, Int32 index, NvEvaluators pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(NvEvaluators target, Int32 index, NvEvaluators pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127349,7 +124737,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + Delegates.glGetMapAttribParameterfvNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Single*)@params_ptr); } } #if DEBUG @@ -127357,9 +124745,82 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + void GetMapAttribParameter(NvEvaluators target, UInt32 index, NvEvaluators pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterfvNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + unsafe void GetMapAttribParameter(NvEvaluators target, UInt32 index, NvEvaluators pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(NvEvaluators target, UInt32 index, NvEvaluators pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterfvNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(NvEvaluators target, Int32 index, NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(NvEvaluators target, Int32 index, NvEvaluators pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127369,7 +124830,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glGetMapAttribParameterivNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -127377,9 +124838,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) + void GetMapAttribParameter(NvEvaluators target, Int32 index, NvEvaluators pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127389,7 +124850,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glGetMapAttribParameterivNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -127398,40 +124859,396 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(NvEvaluators target, UInt32 index, NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(NvEvaluators target, UInt32 index, NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(NvEvaluators target, UInt32 index, NvEvaluators pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterivNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + public static + void GetMapParameter(NvEvaluators target, NvEvaluators pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapParameterfvNV((NvEvaluators)target, (NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + public static + unsafe void GetMapParameter(NvEvaluators target, NvEvaluators pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapParameterfvNV((NvEvaluators)target, (NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] + public static + void GetMapParameter(NvEvaluators target, NvEvaluators pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapParameterfvNV((NvEvaluators)target, (NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] public static - unsafe void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) + unsafe void GetMapParameter(NvEvaluators target, NvEvaluators pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + Delegates.glGetMapParameterivNV((NvEvaluators)target, (NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + public static + void GetMapParameter(NvEvaluators target, NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapParameterivNV((NvEvaluators)target, (NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + public static + void GetMapParameter(NvEvaluators target, NvEvaluators pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapParameterivNV((NvEvaluators)target, (NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] public static - unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] out Single val) + void GetMultisample(NvExplicitMultisample pname, Int32 index, [Out] out Single val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127441,63 +125258,7 @@ namespace OpenTK.Graphics { fixed (Single* val_ptr = &val) { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single[] val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + Delegates.glGetMultisamplefvNV((NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); val = *val_ptr; } } @@ -127509,7 +125270,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single[] val) + unsafe void GetMultisample(NvExplicitMultisample pname, Int32 index, [Out] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefvNV((NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(NvExplicitMultisample pname, Int32 index, [Out] Single[] val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127519,7 +125294,65 @@ namespace OpenTK.Graphics { fixed (Single* val_ptr = val) { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + Delegates.glGetMultisamplefvNV((NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(NvExplicitMultisample pname, UInt32 index, [Out] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefvNV((NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + unsafe void GetMultisample(NvExplicitMultisample pname, UInt32 index, [Out] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefvNV((NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(NvExplicitMultisample pname, UInt32 index, [Out] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefvNV((NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); } } #if DEBUG @@ -127530,28 +125363,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static - unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params) + unsafe void GetOcclusionQuery(Int32 id, NvOcclusionQuery pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (NvOcclusionQuery)pname, (Int32*)@params); #if DEBUG } #endif @@ -127559,7 +125377,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32[] @params) + void GetOcclusionQuery(Int32 id, NvOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127569,29 +125387,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetOcclusionQueryivNV((UInt32)id, (NvOcclusionQuery)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -127601,7 +125397,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) + void GetOcclusionQuery(Int32 id, NvOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127611,7 +125407,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (NvOcclusionQuery)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -127623,7 +125419,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32[] @params) + unsafe void GetOcclusionQuery(UInt32 id, NvOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryivNV((UInt32)id, (NvOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(UInt32 id, NvOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127633,7 +125444,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (NvOcclusionQuery)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -127642,9 +125453,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out UInt32 @params) + void GetOcclusionQuery(UInt32 id, NvOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127652,9 +125463,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = &@params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (NvOcclusionQuery)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -127666,7 +125477,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32[] @params) + void GetOcclusionQuery(UInt32 id, NvOcclusionQuery pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127674,9 +125485,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (NvOcclusionQuery)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -127687,173 +125499,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32* @params) + unsafe void GetOcclusionQuery(UInt32 id, NvOcclusionQuery pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (NvOcclusionQuery)pname, (UInt32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) + void GetOcclusionQuery(UInt32 id, NvOcclusionQuery pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127863,7 +125524,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (NvOcclusionQuery)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -127871,113 +125532,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) + unsafe void GetProgramEnvParameterI(NvGpuProgram4 target, Int32 index, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetProgramEnvParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + void GetProgramEnvParameterI(NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127987,7 +125559,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetProgramEnvParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -127995,139 +125567,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) + void GetProgramEnvParameterI(NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128137,7 +125579,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glGetProgramEnvParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -128147,46 +125589,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) + unsafe void GetProgramEnvParameterI(NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetProgramEnvParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) + void GetProgramEnvParameterI(NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128196,7 +125616,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glGetProgramEnvParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -128205,24 +125625,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) + void GetProgramEnvParameterI(NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128230,9 +125635,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glGetProgramEnvParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -128241,9 +125647,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) + void GetProgramEnvParameterI(NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128253,7 +125659,385 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glGetProgramEnvParameterIuivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + unsafe void GetProgramEnvParameterI(NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIuivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + void GetProgramEnvParameterI(NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIuivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + unsafe void GetProgram(Int32 id, NvVertexProgram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivNV((UInt32)id, (NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(Int32 id, NvVertexProgram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(Int32 id, NvVertexProgram pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramivNV((UInt32)id, (NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + unsafe void GetProgram(UInt32 id, NvVertexProgram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivNV((UInt32)id, (NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(UInt32 id, NvVertexProgram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(UInt32 id, NvVertexProgram pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramivNV((UInt32)id, (NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + unsafe void GetProgramLocalParameterI(NvGpuProgram4 target, Int32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + unsafe void GetProgramLocalParameterI(NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -128265,30 +126049,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) + void GetProgramLocalParameterI(NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIuivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } } #if DEBUG } @@ -128296,15 +126069,36 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) + unsafe void GetProgramLocalParameterI(NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + Delegates.glGetProgramLocalParameterIuivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + void GetProgramLocalParameterI(NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIuivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -128325,6 +126119,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] public static void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Double @params) @@ -128350,7 +126162,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128388,21 +126215,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] public static @@ -128436,24 +126248,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] public static void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Single @params) @@ -128476,6 +126270,39 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] public static @@ -128499,61 +126326,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) + unsafe void GetProgramParameter(AssemblyProgramTargetArb target, Int32 index, AssemblyProgramParameterArb pname, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetProgramParameterdvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Double*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) + void GetProgramParameter(AssemblyProgramTargetArb target, Int32 index, AssemblyProgramParameterArb pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128563,7 +126353,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = @params) { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + Delegates.glGetProgramParameterdvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Double*)@params_ptr); } } #if DEBUG @@ -128573,28 +126363,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) + void GetProgramParameter(AssemblyProgramTargetArb target, Int32 index, AssemblyProgramParameterArb pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128604,7 +126373,65 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + Delegates.glGetProgramParameterdvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(AssemblyProgramTargetArb target, UInt32 index, AssemblyProgramParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(AssemblyProgramTargetArb target, UInt32 index, AssemblyProgramParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramParameterdvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(AssemblyProgramTargetArb target, UInt32 index, AssemblyProgramParameterArb pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramParameterdvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -128615,7 +126442,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) + void GetProgramParameter(AssemblyProgramTargetArb target, Int32 index, AssemblyProgramParameterArb pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128625,7 +126452,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + Delegates.glGetProgramParameterfvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -128637,37 +126464,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) + unsafe void GetProgramParameter(AssemblyProgramTargetArb target, Int32 index, AssemblyProgramParameterArb pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); + Delegates.glGetProgramParameterfvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Single*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) + void GetProgramParameter(AssemblyProgramTargetArb target, Int32 index, AssemblyProgramParameterArb pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128677,27 +126488,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + Delegates.glGetProgramParameterfvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Single*)@params_ptr); } } #if DEBUG @@ -128708,7 +126499,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) + void GetProgramParameter(AssemblyProgramTargetArb target, UInt32 index, AssemblyProgramParameterArb pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128718,7 +126509,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + Delegates.glGetProgramParameterfvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -128727,9 +126518,80 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + unsafe void GetProgramParameter(AssemblyProgramTargetArb target, UInt32 index, AssemblyProgramParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(AssemblyProgramTargetArb target, UInt32 index, AssemblyProgramParameterArb pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramParameterfvNV((AssemblyProgramTargetArb)target, (UInt32)index, (AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + unsafe void GetProgramString(Int32 id, NvVertexProgram pname, [Out] Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringNV((UInt32)id, (NvVertexProgram)pname, (Byte*)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(Int32 id, NvVertexProgram pname, [Out] Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glGetProgramStringNV((UInt32)id, (NvVertexProgram)pname, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Byte program) + void GetProgramString(Int32 id, NvVertexProgram pname, [Out] out Byte program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128739,7 +126601,7 @@ namespace OpenTK.Graphics { fixed (Byte* program_ptr = &program) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + Delegates.glGetProgramStringNV((UInt32)id, (NvVertexProgram)pname, (Byte*)program_ptr); program = *program_ptr; } } @@ -128751,13 +126613,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program) + unsafe void GetProgramString(UInt32 id, NvVertexProgram pname, [Out] Byte* program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program); + Delegates.glGetProgramStringNV((UInt32)id, (NvVertexProgram)pname, (Byte*)program); #if DEBUG } #endif @@ -128766,22 +126628,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - unsafe void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) + void GetProgramString(UInt32 id, NvVertexProgram pname, [Out] Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128791,27 +126638,7 @@ namespace OpenTK.Graphics { fixed (Byte* program_ptr = program) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + Delegates.glGetProgramStringNV((UInt32)id, (NvVertexProgram)pname, (Byte*)program_ptr); } } #if DEBUG @@ -128822,7 +126649,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Byte program) + void GetProgramString(UInt32 id, NvVertexProgram pname, [Out] out Byte program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128832,7 +126659,7 @@ namespace OpenTK.Graphics { fixed (Byte* program_ptr = &program) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + Delegates.glGetProgramStringNV((UInt32)id, (NvVertexProgram)pname, (Byte*)program_ptr); program = *program_ptr; } } @@ -128844,20 +126671,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) + unsafe void GetTrackMatrix(AssemblyProgramTargetArb target, Int32 address, AssemblyProgramParameterArb pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetTrackMatrixivNV((AssemblyProgramTargetArb)target, (UInt32)address, (AssemblyProgramParameterArb)pname, (Int32*)@params); #if DEBUG } #endif @@ -128865,7 +126685,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) + void GetTrackMatrix(AssemblyProgramTargetArb target, Int32 address, AssemblyProgramParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128875,7 +126695,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + Delegates.glGetTrackMatrixivNV((AssemblyProgramTargetArb)target, (UInt32)address, (AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -128887,13 +126707,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - unsafe void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) + unsafe void GetTrackMatrix(AssemblyProgramTargetArb target, UInt32 address, AssemblyProgramParameterArb pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); + Delegates.glGetTrackMatrixivNV((AssemblyProgramTargetArb)target, (UInt32)address, (AssemblyProgramParameterArb)pname, (Int32*)@params); #if DEBUG } #endif @@ -128902,13 +126722,56 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - unsafe void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) + void GetTrackMatrix(AssemblyProgramTargetArb target, UInt32 address, AssemblyProgramParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTrackMatrixivNV((AssemblyProgramTargetArb)target, (UInt32)address, (AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] out Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* location_ptr = &location) + { + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); + location = *location_ptr; + } + } #if DEBUG } #endif @@ -128951,42 +126814,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] public static Int32 GetVaryingLocation(Int32 program, String name) @@ -129035,17 +126862,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) + unsafe void GetVertexAttrib(Int32 index, NvVertexProgram pname, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); + Delegates.glGetVertexAttribdvNV((UInt32)index, (NvVertexProgram)pname, (Double*)@params); #if DEBUG } #endif @@ -129070,45 +126896,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Double @params) + void GetVertexAttrib(Int32 index, NvVertexProgram pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129118,7 +126908,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdvNV((UInt32)index, (NvVertexProgram)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -129146,11 +126936,44 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Double @params) + unsafe void GetVertexAttrib(UInt32 index, NvVertexProgram pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvNV((UInt32)index, (NvVertexProgram)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + void GetVertexAttrib(UInt32 index, NvVertexProgram pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129160,7 +126983,7 @@ namespace OpenTK.Graphics { fixed (Double* @params_ptr = &@params) { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribdvNV((UInt32)index, (NvVertexProgram)pname, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -129188,80 +127011,9 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Single @params) + void GetVertexAttrib(Int32 index, NvVertexProgram pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129271,7 +127023,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfvNV((UInt32)index, (NvVertexProgram)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -129299,11 +127051,44 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Single @params) + unsafe void GetVertexAttrib(Int32 index, NvVertexProgram pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvNV((UInt32)index, (NvVertexProgram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + void GetVertexAttrib(UInt32 index, NvVertexProgram pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129313,7 +127098,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params_ptr); + Delegates.glGetVertexAttribfvNV((UInt32)index, (NvVertexProgram)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -129341,10 +127126,77 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, NvVertexProgram pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvNV((UInt32)index, (NvVertexProgram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) + unsafe void GetVertexAttrib(Int32 index, NvVertexProgram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivNV((UInt32)index, (NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + void GetVertexAttrib(Int32 index, NvVertexProgram pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129354,7 +127206,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribivNV((UInt32)index, (NvVertexProgram)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -129382,17 +127234,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) + unsafe void GetVertexAttrib(UInt32 index, NvVertexProgram pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); + Delegates.glGetVertexAttribivNV((UInt32)index, (NvVertexProgram)pname, (Int32*)@params); #if DEBUG } #endif @@ -129417,11 +127268,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) + void GetVertexAttrib(UInt32 index, NvVertexProgram pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129431,7 +127281,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribivNV((UInt32)index, (NvVertexProgram)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -129440,44 +127290,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(Int32 index, NvVertexProgram pname, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -129487,7 +127302,114 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, NvVertexProgram pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, NvVertexProgram pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, NvVertexProgram pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, NvVertexProgram pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, NvVertexProgram pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -129501,7 +127423,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) + void GetVertexAttribPointer(UInt32 index, NvVertexProgram pname, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -129511,30 +127433,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -129548,7 +127447,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(UInt32 index, NvVertexProgram pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -129558,7 +127457,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -129572,7 +127471,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) + void GetVertexAttribPointer(UInt32 index, NvVertexProgram pname, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -129582,82 +127481,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -129671,22 +127495,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[] pointer) - where T2 : struct + void GetVertexAttribPointer(UInt32 index, NvVertexProgram pname, [Out] IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glGetVertexAttribPointervNV((UInt32)index, (NvVertexProgram)pname, (IntPtr)pointer); #if DEBUG } #endif @@ -129695,20 +127510,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] public static - void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + unsafe void GetVideoi64(Int32 video_slot, NvPresentVideo pname, [Out] Int64* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetVideoi64vNV((UInt32)video_slot, (NvPresentVideo)pname, (Int64*)@params); #if DEBUG } #endif @@ -129716,7 +127524,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] public static - void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) + void GetVideoi64(Int32 video_slot, NvPresentVideo pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129726,7 +127534,7 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = @params) { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); + Delegates.glGetVideoi64vNV((UInt32)video_slot, (NvPresentVideo)pname, (Int64*)@params_ptr); } } #if DEBUG @@ -129734,60 +127542,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] public static - void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + void GetVideoi64(Int32 video_slot, NvPresentVideo pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129797,7 +127554,65 @@ namespace OpenTK.Graphics { fixed (Int64* @params_ptr = &@params) { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); + Delegates.glGetVideoi64vNV((UInt32)video_slot, (NvPresentVideo)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + unsafe void GetVideoi64(UInt32 video_slot, NvPresentVideo pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoi64vNV((UInt32)video_slot, (NvPresentVideo)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideoi64(UInt32 video_slot, NvPresentVideo pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (NvPresentVideo)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideoi64(UInt32 video_slot, NvPresentVideo pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (NvPresentVideo)pname, (Int64*)@params_ptr); @params = *@params_ptr; } } @@ -129809,35 +127624,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) + unsafe void GetVideo(Int32 video_slot, NvPresentVideo pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetVideoivNV((UInt32)video_slot, (NvPresentVideo)pname, (Int32*)@params); #if DEBUG } #endif @@ -129845,28 +127638,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) + void GetVideo(Int32 video_slot, NvPresentVideo pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129876,7 +127648,28 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + Delegates.glGetVideoivNV((UInt32)video_slot, (NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(Int32 video_slot, NvPresentVideo pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -129887,13 +127680,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) + unsafe void GetVideo(UInt32 video_slot, NvPresentVideo pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params); + Delegates.glGetVideoivNV((UInt32)video_slot, (NvPresentVideo)pname, (Int32*)@params); #if DEBUG } #endif @@ -129902,7 +127695,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) + void GetVideo(UInt32 video_slot, NvPresentVideo pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129912,7 +127705,29 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + Delegates.glGetVideoivNV((UInt32)video_slot, (NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(UInt32 video_slot, NvPresentVideo pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -129923,7 +127738,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64[] @params) + unsafe void GetVideoui64(Int32 video_slot, NvPresentVideo pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoui64vNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(Int32 video_slot, NvPresentVideo pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129931,9 +127760,30 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt64* @params_ptr = @params) + fixed (Int64* @params_ptr = @params) { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + Delegates.glGetVideoui64vNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(Int32 video_slot, NvPresentVideo pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -129944,7 +127794,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out UInt64 @params) + void GetVideoui64(UInt32 video_slot, NvPresentVideo pname, [Out] out UInt64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129954,48 +127804,7 @@ namespace OpenTK.Graphics { fixed (UInt64* @params_ptr = &@params) { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + Delegates.glGetVideoui64vNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt64*)@params_ptr); @params = *@params_ptr; } } @@ -130007,13 +127816,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] public static - unsafe void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) + unsafe void GetVideoui64(UInt32 video_slot, NvPresentVideo pname, [Out] UInt64* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params); + Delegates.glGetVideoui64vNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt64*)@params); #if DEBUG } #endif @@ -130022,22 +127831,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] public static - unsafe void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32[] @params) + void GetVideoui64(UInt32 video_slot, NvPresentVideo pname, [Out] UInt64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130045,9 +127839,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (UInt64* @params_ptr = @params) { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); + Delegates.glGetVideoui64vNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt64*)@params_ptr); } } #if DEBUG @@ -130058,7 +127852,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out UInt32 @params) + void GetVideo(UInt32 video_slot, NvPresentVideo pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130068,7 +127862,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); + Delegates.glGetVideouivNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -130080,13 +127874,34 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params) + unsafe void GetVideo(UInt32 video_slot, NvPresentVideo pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params); + Delegates.glGetVideouivNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + void GetVideo(UInt32 video_slot, NvPresentVideo pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetVideouivNV((UInt32)video_slot, (NvPresentVideo)pname, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -130121,10 +127936,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] public static - bool IsOcclusionQuery(UInt32 id) + bool IsOcclusionQuery(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130136,9 +127950,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] public static - bool IsOcclusionQuery(Int32 id) + bool IsOcclusionQuery(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130159,7 +127974,6 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glIsProgramNV")] public static bool IsProgram(Int32 id) @@ -130183,7 +127997,6 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glIsProgramNV")] public static @@ -130231,19 +128044,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) + unsafe void LoadProgram(AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte* program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* program_ptr = &program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } + Delegates.glLoadProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); #if DEBUG } #endif @@ -130251,7 +128058,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) + void LoadProgram(AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130261,7 +128068,7 @@ namespace OpenTK.Graphics { fixed (Byte* program_ptr = program) { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + Delegates.glLoadProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); } } #if DEBUG @@ -130271,7 +128078,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program) + void LoadProgram(AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130281,7 +128088,7 @@ namespace OpenTK.Graphics { fixed (Byte* program_ptr = &program) { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + Delegates.glLoadProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); } } #if DEBUG @@ -130292,13 +128099,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - unsafe void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) + unsafe void LoadProgram(AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); + Delegates.glLoadProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); #if DEBUG } #endif @@ -130307,22 +128114,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - unsafe void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) + void LoadProgram(AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130332,7 +128124,7 @@ namespace OpenTK.Graphics { fixed (Byte* program_ptr = program) { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + Delegates.glLoadProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); } } #if DEBUG @@ -130340,226 +128132,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] - public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single[] @params) + void LoadProgram(AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130567,9 +128143,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Byte* program_ptr = &program) { - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + Delegates.glLoadProgramNV((AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); } } #if DEBUG @@ -130577,9 +128153,226 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, Int32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(NvEvaluators target, UInt32 index, NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapControlPointsNV((NvEvaluators)target, (UInt32)index, (NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, ref Single @params) + void MapParameter(NvEvaluators target, NvEvaluators pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130589,7 +128382,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + Delegates.glMapParameterfvNV((NvEvaluators)target, (NvEvaluators)pname, (Single*)@params_ptr); } } #if DEBUG @@ -130600,13 +128393,48 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] public static - unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params) + unsafe void MapParameter(NvEvaluators target, NvEvaluators pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + Delegates.glMapParameterfvNV((NvEvaluators)target, (NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + void MapParameter(NvEvaluators target, NvEvaluators pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMapParameterfvNV((NvEvaluators)target, (NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + unsafe void MapParameter(NvEvaluators target, NvEvaluators pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapParameterivNV((NvEvaluators)target, (NvEvaluators)pname, (Int32*)@params); #if DEBUG } #endif @@ -130614,7 +128442,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32[] @params) + void MapParameter(NvEvaluators target, NvEvaluators pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130624,7 +128452,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glMapParameterivNV((NvEvaluators)target, (NvEvaluators)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -130634,7 +128462,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, ref Int32 @params) + void MapParameter(NvEvaluators target, NvEvaluators pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130644,7 +128472,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glMapParameterivNV((NvEvaluators)target, (NvEvaluators)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -130652,30 +128480,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] - public static - unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hNV")] public static - void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Half s) + void MultiTexCoord1h(TextureUnit target, OpenTK.Half s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half)s); + Delegates.glMultiTexCoord1hNV((TextureUnit)target, (OpenTK.Half)s); #if DEBUG } #endif @@ -130684,13 +128497,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hvNV")] public static - unsafe void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v) + unsafe void MultiTexCoord1h(TextureUnit target, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v); + Delegates.glMultiTexCoord1hvNV((TextureUnit)target, (OpenTK.Half*)v); #if DEBUG } #endif @@ -130698,13 +128511,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hNV")] public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t) + void MultiTexCoord2h(TextureUnit target, OpenTK.Half s, OpenTK.Half t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half)s, (OpenTK.Half)t); + Delegates.glMultiTexCoord2hNV((TextureUnit)target, (OpenTK.Half)s, (OpenTK.Half)t); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + unsafe void MultiTexCoord2h(TextureUnit target, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2hvNV((TextureUnit)target, (OpenTK.Half*)v); #if DEBUG } #endif @@ -130712,27 +128540,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) + void MultiTexCoord2h(TextureUnit target, OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130742,7 +128550,7 @@ namespace OpenTK.Graphics { fixed (OpenTK.Half* v_ptr = v) { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); + Delegates.glMultiTexCoord2hvNV((TextureUnit)target, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -130750,16 +128558,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] public static - unsafe void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v) + void MultiTexCoord2h(TextureUnit target, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v); + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glMultiTexCoord2hvNV((TextureUnit)target, (OpenTK.Half*)v_ptr); + } + } #if DEBUG } #endif @@ -130767,13 +128580,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hNV")] public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r) + void MultiTexCoord3h(TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half)s, (OpenTK.Half)t, (OpenTK.Half)r); + Delegates.glMultiTexCoord3hNV((TextureUnit)target, (OpenTK.Half)s, (OpenTK.Half)t, (OpenTK.Half)r); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + unsafe void MultiTexCoord3h(TextureUnit target, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3hvNV((TextureUnit)target, (OpenTK.Half*)v); #if DEBUG } #endif @@ -130781,7 +128609,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) + void MultiTexCoord3h(TextureUnit target, OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130791,7 +128619,7 @@ namespace OpenTK.Graphics { fixed (OpenTK.Half* v_ptr = v) { - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); + Delegates.glMultiTexCoord3hvNV((TextureUnit)target, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -130799,24 +128627,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] public static - unsafe void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) + void MultiTexCoord3h(TextureUnit target, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130826,7 +128639,7 @@ namespace OpenTK.Graphics { fixed (OpenTK.Half* v_ptr = &v) { - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); + Delegates.glMultiTexCoord3hvNV((TextureUnit)target, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -130836,13 +128649,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hNV")] public static - void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q) + void MultiTexCoord4h(TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half)s, (OpenTK.Half)t, (OpenTK.Half)r, (OpenTK.Half)q); + Delegates.glMultiTexCoord4hNV((TextureUnit)target, (OpenTK.Half)s, (OpenTK.Half)t, (OpenTK.Half)r, (OpenTK.Half)q); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + unsafe void MultiTexCoord4h(TextureUnit target, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4hvNV((TextureUnit)target, (OpenTK.Half*)v); #if DEBUG } #endif @@ -130850,7 +128678,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] public static - void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) + void MultiTexCoord4h(TextureUnit target, OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130860,7 +128688,7 @@ namespace OpenTK.Graphics { fixed (OpenTK.Half* v_ptr = v) { - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); + Delegates.glMultiTexCoord4hvNV((TextureUnit)target, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -130868,24 +128696,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] public static - unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) + void MultiTexCoord4h(TextureUnit target, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130895,7 +128708,7 @@ namespace OpenTK.Graphics { fixed (OpenTK.Half* v_ptr = &v) { - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); + Delegates.glMultiTexCoord4hvNV((TextureUnit)target, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -130917,6 +128730,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + unsafe void Normal3h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] public static void Normal3h(OpenTK.Half[] v) @@ -130937,21 +128765,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] - public static - unsafe void Normal3h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] public static void Normal3h(ref OpenTK.Half v) @@ -130988,7 +128801,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) + void PixelDataRange(NvPixelDataRange target, Int32 length, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -130998,7 +128811,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glPixelDataRangeNV((NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -131011,7 +128824,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) + void PixelDataRange(NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -131021,7 +128834,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glPixelDataRangeNV((NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -131034,7 +128847,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[] pointer) + void PixelDataRange(NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -131044,7 +128857,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glPixelDataRangeNV((NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -131057,21 +128870,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] ref T2 pointer) + void PixelDataRange(NvPixelDataRange target, Int32 length, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -131081,7 +128880,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glPixelDataRangeNV((NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -131092,6 +128891,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(NvPixelDataRange target, Int32 length, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelDataRangeNV((NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + /// /// Specify point parameters @@ -131106,16 +128919,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameteriNV")] public static - void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32 param) + void PointParameter(NvPointSprite pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameteriNV((OpenTK.Graphics.NvPointSprite)pname, (Int32)param); + Delegates.glPointParameteriNV((NvPointSprite)pname, (Int32)param); #if DEBUG } #endif @@ -131135,17 +128947,16 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] public static - unsafe void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32* @params) + unsafe void PointParameter(NvPointSprite pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params); + Delegates.glPointParameterivNV((NvPointSprite)pname, (Int32*)@params); #if DEBUG } #endif @@ -131165,10 +128976,9 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] public static - void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32[] @params) + void PointParameter(NvPointSprite pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131178,7 +128988,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params_ptr); + Delegates.glPointParameterivNV((NvPointSprite)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -131188,13 +128998,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] public static - void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.NvPresentVideo target3, Int32 fill3) + void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, NvPresentVideo type, NvPresentVideo target0, Int32 fill0, NvPresentVideo target1, Int32 fill1, NvPresentVideo target2, Int32 fill2, NvPresentVideo target3, Int32 fill3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (NvPresentVideo)type, (NvPresentVideo)target0, (UInt32)fill0, (NvPresentVideo)target1, (UInt32)fill1, (NvPresentVideo)target2, (UInt32)fill2, (NvPresentVideo)target3, (UInt32)fill3); #if DEBUG } #endif @@ -131203,13 +129013,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] public static - void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3) + void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, NvPresentVideo type, NvPresentVideo target0, UInt32 fill0, NvPresentVideo target1, UInt32 fill1, NvPresentVideo target2, UInt32 fill2, NvPresentVideo target3, UInt32 fill3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (NvPresentVideo)type, (NvPresentVideo)target0, (UInt32)fill0, (NvPresentVideo)target1, (UInt32)fill1, (NvPresentVideo)target2, (UInt32)fill2, (NvPresentVideo)target3, (UInt32)fill3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] + public static + void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, NvPresentVideo type, NvPresentVideo target0, Int32 fill0, Int32 key0, NvPresentVideo target1, Int32 fill1, Int32 key1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (NvPresentVideo)type, (NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); #if DEBUG } #endif @@ -131218,36 +129042,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] public static - void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1) + void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, NvPresentVideo type, NvPresentVideo target0, UInt32 fill0, UInt32 key0, NvPresentVideo target1, UInt32 fill1, UInt32 key1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (NvPresentVideo)type, (NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); #if DEBUG } #endif } - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] - public static - void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, Int32 key0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, Int32 key1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] public static - void PrimitiveRestartIndex(UInt32 index) + void PrimitiveRestartIndex(Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131259,9 +129068,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] public static - void PrimitiveRestartIndex(Int32 index) + void PrimitiveRestartIndex(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131287,10 +129097,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) + void ProgramBufferParameters(NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131300,7 +129109,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramBufferParametersfvNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -131311,13 +129120,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) + unsafe void ProgramBufferParameters(NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramBufferParametersfvNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramBufferParametersfvNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -131326,47 +129155,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Single @params) + void ProgramBufferParameters(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131376,7 +129165,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glProgramBufferParametersfvNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -131387,36 +129176,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) + unsafe void ProgramBufferParameters(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + Delegates.glProgramBufferParametersfvNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) + void ProgramBufferParameters(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131424,9 +129199,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glProgramBufferParametersfvNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); } } #if DEBUG @@ -131437,22 +129212,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) + unsafe void ProgramBufferParametersI(NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + Delegates.glProgramBufferParametersIivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) + void ProgramBufferParametersI(NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131462,7 +129236,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glProgramBufferParametersIivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -131472,28 +129246,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) + void ProgramBufferParametersI(NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131503,7 +129256,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glProgramBufferParametersIivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -131512,9 +129265,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) + unsafe void ProgramBufferParametersI(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131522,9 +129290,30 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = @params) { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glProgramBufferParametersIivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -131535,22 +129324,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params) + void ProgramBufferParametersI(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131560,7 +129334,43 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glProgramBufferParametersIuivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + unsafe void ProgramBufferParametersI(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIuivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + void ProgramBufferParametersI(NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIuivNV((NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); } } #if DEBUG @@ -131570,13 +129380,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramEnvParameterI4(NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glProgramEnvParameterI4iNV((NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -131585,13 +129395,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glProgramEnvParameterI4iNV((NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -131600,19 +129410,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + unsafe void ProgramEnvParameterI4(NvGpuProgram4 target, Int32 index, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } + Delegates.glProgramEnvParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif @@ -131620,7 +129424,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) + void ProgramEnvParameterI4(NvGpuProgram4 target, Int32 index, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131630,7 +129434,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glProgramEnvParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -131638,60 +129442,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) + void ProgramEnvParameterI4(NvGpuProgram4 target, Int32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131701,7 +129454,64 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glProgramEnvParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -131712,13 +129522,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uiNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + Delegates.glProgramEnvParameterI4uiNV((NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); #if DEBUG } #endif @@ -131727,43 +129537,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) + void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131773,7 +129547,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glProgramEnvParameterI4uivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -131782,121 +129556,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + unsafe void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + Delegates.glProgramEnvParameterI4uivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + void ProgramEnvParameterI4(NvGpuProgram4 target, UInt32 index, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131906,7 +129583,119 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glProgramEnvParameterI4uivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + unsafe void ProgramEnvParametersI4(NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + unsafe void ProgramEnvParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -131917,22 +129706,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) + void ProgramEnvParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131942,7 +129716,43 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glProgramEnvParametersI4uivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + unsafe void ProgramEnvParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4uivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + void ProgramEnvParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4uivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); } } #if DEBUG @@ -131952,13 +129762,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramLocalParameterI4(NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + Delegates.glProgramLocalParameterI4iNV((NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -131967,33 +129777,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } + Delegates.glProgramLocalParameterI4iNV((NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif @@ -132002,37 +129792,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) + unsafe void ProgramLocalParameterI4(NvGpuProgram4 target, Int32 index, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + Delegates.glProgramLocalParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32[] @params) + void ProgramLocalParameterI4(NvGpuProgram4 target, Int32 index, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132042,7 +129816,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glProgramLocalParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -132052,7 +129826,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) + void ProgramLocalParameterI4(NvGpuProgram4 target, Int32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132060,9 +129834,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glProgramLocalParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -132073,7 +129847,43 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + unsafe void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132083,7 +129893,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glProgramLocalParameterI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); } } #if DEBUG @@ -132094,13 +129904,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uiNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + Delegates.glProgramLocalParameterI4uiNV((NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); #if DEBUG } #endif @@ -132109,22 +129919,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) + void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132134,7 +129929,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glProgramLocalParameterI4uivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -132145,7 +129940,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32[] @params) + unsafe void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4uivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + void ProgramLocalParameterI4(NvGpuProgram4 target, UInt32 index, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132155,7 +129965,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + Delegates.glProgramLocalParameterI4uivNV((NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -132163,9 +129973,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + unsafe void ProgramLocalParametersI4(NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132175,7 +130000,27 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glProgramLocalParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -132186,7 +130031,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + unsafe void ProgramLocalParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132196,7 +130056,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glProgramLocalParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -132207,36 +130067,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + void ProgramLocalParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132246,28 +130077,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glProgramLocalParametersI4ivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } } #if DEBUG @@ -132278,22 +130088,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) + void ProgramLocalParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132303,7 +130098,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glProgramLocalParametersI4uivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); } } #if DEBUG @@ -132314,7 +130109,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + unsafe void ProgramLocalParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4uivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + void ProgramLocalParametersI4(NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132324,7 +130134,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + Delegates.glProgramLocalParametersI4uivNV((NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); } } #if DEBUG @@ -132332,6 +130142,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] public static void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) @@ -132352,27 +130177,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] public static @@ -132391,13 +130195,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); + } + } #if DEBUG } #endif @@ -132406,7 +130216,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132442,6 +130267,39 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* v_ptr = v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] public static @@ -132464,54 +130322,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] public static @@ -132527,21 +130337,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] public static void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) @@ -132562,6 +130357,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] public static @@ -132616,10 +130426,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v) + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132653,27 +130462,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = &v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] public static @@ -132692,15 +130480,37 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameter4dNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* v_ptr = &v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] + public static + void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -132709,13 +130519,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameter4dNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glProgramParameter4dNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -132724,19 +130534,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double v) + unsafe void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } + Delegates.glProgramParameter4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); #if DEBUG } #endif @@ -132744,7 +130548,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] v) + void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132754,7 +130558,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + Delegates.glProgramParameter4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); } } #if DEBUG @@ -132762,60 +130566,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double v) + void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132825,7 +130578,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = &v) { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + Delegates.glProgramParameter4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); } } #if DEBUG @@ -132833,45 +130586,87 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + unsafe void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameter4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameter4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] + public static + void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameter4fNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + Delegates.glProgramParameter4fNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -132879,49 +130674,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single v) + void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132931,7 +130684,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + Delegates.glProgramParameter4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); } } #if DEBUG @@ -132942,13 +130695,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v) + unsafe void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + Delegates.glProgramParameter4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); #if DEBUG } #endif @@ -132956,7 +130709,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single v) + void ProgramParameter4(AssemblyProgramTargetArb target, Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameter4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132966,7 +130740,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + Delegates.glProgramParameter4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); } } #if DEBUG @@ -132975,38 +130749,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) + unsafe void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); + Delegates.glProgramParameter4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v) + void ProgramParameter4(AssemblyProgramTargetArb target, UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133014,9 +130774,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Single* v_ptr = v) { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + Delegates.glProgramParameter4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); } } #if DEBUG @@ -133027,7 +130787,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double[] v) + unsafe void ProgramParameters4(AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(AssemblyProgramTargetArb target, Int32 index, Int32 count, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133037,7 +130811,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + Delegates.glProgramParameters4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); } } #if DEBUG @@ -133047,28 +130821,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) + void ProgramParameters4(AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133078,7 +130831,64 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = &v) { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + Delegates.glProgramParameters4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + unsafe void ProgramParameters4(AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameters4dvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(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((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); } } #if DEBUG @@ -133088,7 +130898,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v) + void ProgramParameters4(AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133098,27 +130908,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + Delegates.glProgramParameters4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); } } #if DEBUG @@ -133129,7 +130919,42 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v) + unsafe void ProgramParameters4(AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameters4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133139,7 +130964,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + Delegates.glProgramParameters4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); } } #if DEBUG @@ -133150,7 +130975,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) + unsafe void ProgramParameters4(AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133160,7 +131000,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + Delegates.glProgramParameters4fvNV((AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); } } #if DEBUG @@ -133168,45 +131008,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glProgramVertexLimitNV")] public static - void ProgramVertexLimit(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit) + void ProgramVertexLimit(NvGeometryProgram4 target, Int32 limit) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramVertexLimitNV((OpenTK.Graphics.NvGeometryProgram4)target, (Int32)limit); + Delegates.glProgramVertexLimitNV((NvGeometryProgram4)target, (Int32)limit); #if DEBUG } #endif @@ -133214,13 +131024,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvFramebufferMultisampleCoverage", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleCoverageNV")] public static - void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void RenderbufferStorageMultisampleCoverage(RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + Delegates.glRenderbufferStorageMultisampleCoverageNV((RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -133241,16 +131051,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - unsafe void RequestResidentProgram(Int32 n, UInt32* programs) + void RequestResidentProgram(Int32 n, Int32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } #if DEBUG } #endif @@ -133276,47 +131091,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static @@ -133338,6 +131112,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + unsafe void RequestResidentProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + void RequestResidentProgram(Int32 n, UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] public static void ResumeTransformFeedback() @@ -133352,10 +131162,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] public static - void SampleMaskIndexed(UInt32 index, UInt32 mask) + void SampleMaskIndexed(Int32 index, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133367,9 +131176,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] public static - void SampleMaskIndexed(Int32 index, Int32 mask) + void SampleMaskIndexed(UInt32 index, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133395,21 +131205,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] public static - void SecondaryColor3h(ref OpenTK.Half v) + unsafe void SecondaryColor3h(OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glSecondaryColor3hvNV((OpenTK.Half*)v_ptr); - } - } + Delegates.glSecondaryColor3hvNV((OpenTK.Half*)v); #if DEBUG } #endif @@ -133435,16 +131240,35 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] public static - unsafe void SecondaryColor3h(OpenTK.Half* v) + void SecondaryColor3h(ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3hvNV((OpenTK.Half*)v); + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glSecondaryColor3hvNV((OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] + public static + void SetFence(Int32 fence, NvFence condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (NvFence)condition); #if DEBUG } #endif @@ -133453,36 +131277,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] public static - void SetFence(UInt32 fence, OpenTK.Graphics.NvFence condition) + void SetFence(UInt32 fence, NvFence condition) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.NvFence)condition); + Delegates.glSetFenceNV((UInt32)fence, (NvFence)condition); #if DEBUG } #endif } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] - public static - void SetFence(Int32 fence, OpenTK.Graphics.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.NvFence)condition); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glTestFenceNV")] public static - bool TestFence(UInt32 fence) + bool TestFence(Int32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133494,9 +131303,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glTestFenceNV")] public static - bool TestFence(Int32 fence) + bool TestFence(UInt32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133637,7 +131447,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] public static - void TexCoord3h(ref OpenTK.Half v) + void TexCoord3h(OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133645,7 +131455,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = &v) + fixed (OpenTK.Half* v_ptr = v) { Delegates.glTexCoord3hvNV((OpenTK.Half*)v_ptr); } @@ -133657,7 +131467,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] public static - void TexCoord3h(OpenTK.Half[] v) + void TexCoord3h(ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133665,7 +131475,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glTexCoord3hvNV((OpenTK.Half*)v_ptr); } @@ -133704,26 +131514,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] - public static - void TexCoord4h(ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glTexCoord4hvNV((OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] public static void TexCoord4h(OpenTK.Half[] v) @@ -133744,15 +131534,35 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] public static - void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + void TexCoord4h(ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glTexCoord4hvNV((OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] + public static + void TexRenderbuffer(TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexRenderbufferNV((TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -133761,13 +131571,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] public static - void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + void TexRenderbuffer(TextureTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glTexRenderbufferNV((TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] + public static + void TrackMatrix(AssemblyProgramTargetArb target, Int32 address, NvVertexProgram matrix, NvVertexProgram transform) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTrackMatrixNV((AssemblyProgramTargetArb)target, (UInt32)address, (NvVertexProgram)matrix, (NvVertexProgram)transform); #if DEBUG } #endif @@ -133776,47 +131600,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] public static - void TrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform) + void TrackMatrix(AssemblyProgramTargetArb target, UInt32 address, NvVertexProgram matrix, NvVertexProgram transform) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTrackMatrixNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] - public static - void TrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTrackMatrixNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } + Delegates.glTrackMatrixNV((AssemblyProgramTargetArb)target, (UInt32)address, (NvVertexProgram)matrix, (NvVertexProgram)transform); #if DEBUG } #endif @@ -133825,58 +131615,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (NvTransformFeedback)bufferMode); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackAttrib(Int32 count, Int32[] attribs, NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133886,7 +131639,7 @@ namespace OpenTK.Graphics { fixed (Int32* attribs_ptr = attribs) { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (NvTransformFeedback)bufferMode); } } #if DEBUG @@ -133896,7 +131649,43 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = &attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133906,7 +131695,7 @@ namespace OpenTK.Graphics { fixed (Int32* attribs_ptr = attribs) { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (NvTransformFeedback)bufferMode); } } #if DEBUG @@ -133915,15 +131704,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + unsafe + { + fixed (Int32* attribs_ptr = &attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (NvTransformFeedback)bufferMode); + } + } #if DEBUG } #endif @@ -133931,13 +131726,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (String[])varyings, (NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (String[])varyings, (NvTransformFeedback)bufferMode); #if DEBUG } #endif @@ -133957,6 +131767,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + unsafe void Vertex2h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] public static void Vertex2h(OpenTK.Half[] v) @@ -133997,21 +131822,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] - public static - unsafe void Vertex2h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hNV")] public static void Vertex3h(OpenTK.Half x, OpenTK.Half y, OpenTK.Half z) @@ -134043,7 +131853,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] public static - void Vertex3h(ref OpenTK.Half v) + void Vertex3h(OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134051,7 +131861,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = &v) + fixed (OpenTK.Half* v_ptr = v) { Delegates.glVertex3hvNV((OpenTK.Half*)v_ptr); } @@ -134063,7 +131873,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] public static - void Vertex3h(OpenTK.Half[] v) + void Vertex3h(ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134071,7 +131881,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glVertex3hvNV((OpenTK.Half*)v_ptr); } @@ -134110,26 +131920,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] - public static - void Vertex4h(ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertex4hvNV((OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] public static void Vertex4h(OpenTK.Half[] v) @@ -134150,6 +131940,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + void Vertex4h(ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glVertex4hvNV((OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) @@ -134173,43 +131983,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) @@ -134256,6 +132029,43 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + /// /// Specifies the value of a generic vertex attribute @@ -134270,7 +132080,34 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] public static @@ -134300,36 +132137,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dvNV")] public static @@ -134359,7 +132166,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dvNV")] public static @@ -134389,7 +132195,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] public static void VertexAttrib1(Int32 index, Single x) @@ -134418,7 +132223,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] public static @@ -134448,7 +132252,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] public static @@ -134478,7 +132281,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] public static @@ -134567,7 +132369,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] public static void VertexAttrib1(Int32 index, Int16 x) @@ -134596,7 +132397,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] public static @@ -134626,7 +132426,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] public static @@ -134656,7 +132455,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] public static @@ -134686,7 +132484,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -134715,7 +132512,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] public static @@ -134745,11 +132541,38 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static - void VertexAttrib2(UInt32 index, ref Double v) + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134757,7 +132580,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); } @@ -134781,7 +132604,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static void VertexAttrib2(Int32 index, ref Double v) @@ -134816,7 +132638,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -134852,10 +132702,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static - void VertexAttrib2(Int32 index, Double[] v) + void VertexAttrib2(UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134863,7 +132713,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); } @@ -134887,67 +132737,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -134976,7 +132765,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static @@ -135006,7 +132794,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -135041,37 +132828,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -135101,43 +132857,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -135172,7 +132891,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -135194,6 +132912,70 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] public static void VertexAttrib2h(Int32 index, OpenTK.Half x, OpenTK.Half y) @@ -135223,6 +133005,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + unsafe void VertexAttrib2h(Int32 index, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(Int32 index, OpenTK.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] public static void VertexAttrib2h(Int32 index, ref OpenTK.Half v) @@ -135243,42 +133060,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(UInt32 index, ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - unsafe void VertexAttrib2h(Int32 index, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] public static @@ -135315,9 +133096,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] public static - void VertexAttrib2h(Int32 index, OpenTK.Half[] v) + void VertexAttrib2h(UInt32 index, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -135325,7 +133107,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v_ptr); } @@ -135349,7 +133131,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -135378,7 +133159,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] public static @@ -135408,7 +133188,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static void VertexAttrib2(Int32 index, ref Int16 v) @@ -135443,7 +133285,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -135473,37 +133314,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -135539,42 +133349,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -135610,7 +133384,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static void VertexAttrib3(Int32 index, Double x, Double y, Double z) @@ -135639,7 +133412,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static @@ -135669,11 +133441,38 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static - void VertexAttrib3(UInt32 index, ref Double v) + unsafe void VertexAttrib3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -135681,7 +133480,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); } @@ -135705,7 +133504,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -135740,7 +133538,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static @@ -135776,10 +133602,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static - void VertexAttrib3(Int32 index, Double[] v) + void VertexAttrib3(UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -135787,7 +133613,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); } @@ -135811,67 +133637,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -135900,7 +133665,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] public static @@ -135930,7 +133694,103 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -135966,108 +133826,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -136097,10 +133855,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static - void VertexAttrib3(Int32 index, ref Single v) + void VertexAttrib3(UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136108,7 +133866,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); } @@ -136118,6 +133876,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] + public static + void VertexAttrib3h(Int32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hNV((UInt32)index, (OpenTK.Half)x, (OpenTK.Half)y, (OpenTK.Half)z); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] public static @@ -136133,15 +133905,36 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] public static - void VertexAttrib3h(Int32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z) + unsafe void VertexAttrib3h(Int32 index, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3hNV((UInt32)index, (OpenTK.Half)x, (OpenTK.Half)y, (OpenTK.Half)z); + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(Int32 index, OpenTK.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v_ptr); + } + } #if DEBUG } #endif @@ -136182,21 +133975,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - unsafe void VertexAttrib3h(Int32 index, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] public static @@ -136218,26 +133996,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(Int32 index, OpenTK.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] public static @@ -136273,7 +134031,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -136302,7 +134059,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] public static @@ -136332,7 +134088,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -136367,7 +134185,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -136397,37 +134214,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -136463,42 +134249,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -136534,7 +134284,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] public static void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) @@ -136563,7 +134312,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] public static @@ -136593,11 +134341,38 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static - void VertexAttrib4(UInt32 index, ref Double v) + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136605,7 +134380,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); } @@ -136629,7 +134404,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -136664,7 +134438,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -136700,10 +134502,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static - void VertexAttrib4(Int32 index, Double[] v) + void VertexAttrib4(UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136711,7 +134513,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); } @@ -136735,67 +134537,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -136824,7 +134565,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static @@ -136854,7 +134594,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -136889,37 +134628,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -136949,43 +134657,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -137020,7 +134691,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -137042,6 +134712,84 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] + public static + void VertexAttrib4h(Int32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hNV((UInt32)index, (OpenTK.Half)x, (OpenTK.Half)y, (OpenTK.Half)z, (OpenTK.Half)w); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] public static @@ -137057,15 +134805,36 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] public static - void VertexAttrib4h(Int32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w) + unsafe void VertexAttrib4h(Int32 index, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4hNV((UInt32)index, (OpenTK.Half)x, (OpenTK.Half)y, (OpenTK.Half)z, (OpenTK.Half)w); + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(Int32 index, OpenTK.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v_ptr); + } + } #if DEBUG } #endif @@ -137091,42 +134860,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(UInt32 index, ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - unsafe void VertexAttrib4h(Int32 index, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] public static @@ -137163,9 +134896,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] public static - void VertexAttrib4h(Int32 index, OpenTK.Half[] v) + void VertexAttrib4h(UInt32 index, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137173,7 +134907,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v_ptr); } @@ -137197,7 +134931,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -137226,7 +134959,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static @@ -137256,11 +134988,38 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static - void VertexAttrib4(UInt32 index, ref Int16 v) + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(Int32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137268,7 +135027,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); } @@ -137292,7 +135051,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static void VertexAttrib4(Int32 index, ref Int16 v) @@ -137327,7 +135085,35 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -137363,10 +135149,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static - void VertexAttrib4(Int32 index, Int16[] v) + void VertexAttrib4(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137374,7 +135160,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); } @@ -137398,67 +135184,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] - public static - unsafe void VertexAttrib4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] public static void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w) @@ -137487,7 +135212,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] public static @@ -137517,7 +135241,69 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + void VertexAttrib4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -137552,7 +135338,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -137582,37 +135367,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -137648,42 +135402,6 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -137739,10 +135457,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) + void VertexAttribPointer(Int32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -137752,7 +135469,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -137797,11 +135514,229 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) + void VertexAttribPointer(UInt32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -137811,7 +135746,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -137856,69 +135791,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) + void VertexAttribPointer(UInt32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -137928,7 +135804,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -137973,109 +135849,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) + void VertexAttribPointer(UInt32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -138085,7 +135862,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -138130,11 +135907,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) + void VertexAttribPointer(UInt32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -138144,7 +135920,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -138189,84 +135965,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct + void VertexAttribPointer(UInt32 index, Int32 fsize, VertexAttribParameterArb type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -138275,19 +135983,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static - void VertexAttribs1(UInt32 index, Int32 count, ref Double v) + unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); #if DEBUG } #endif @@ -138313,6 +136015,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static @@ -138337,36 +136074,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] - public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, ref Double v) + void VertexAttribs1(UInt32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138384,10 +136092,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static - void VertexAttribs1(UInt32 index, Int32 count, ref Single v) + void VertexAttribs1(Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138405,6 +136112,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static void VertexAttribs1(Int32 index, Int32 count, Single[] v) @@ -138428,7 +136150,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static - void VertexAttribs1(UInt32 index, Int32 count, Single[] v) + void VertexAttribs1(UInt32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138436,7 +136158,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -138446,21 +136168,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] - public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static @@ -138476,9 +136183,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static - void VertexAttribs1(Int32 index, Int32 count, ref Single v) + void VertexAttribs1(UInt32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138486,7 +136194,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -138496,6 +136204,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + unsafe void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static void VertexAttribs1h(Int32 index, Int32 n, ref OpenTK.Half v) @@ -138531,21 +136274,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - unsafe void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static @@ -138567,26 +136295,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static @@ -138608,6 +136316,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static void VertexAttribs1(Int32 index, Int32 count, ref Int16 v) @@ -138643,21 +136386,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] - public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static @@ -138679,26 +136407,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static @@ -138723,19 +136431,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, ref Double v) + unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); #if DEBUG } #endif @@ -138761,6 +136463,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] public static @@ -138785,36 +136522,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, ref Double v) + void VertexAttribs2(UInt32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138832,10 +136540,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, ref Single v) + void VertexAttribs2(Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138853,6 +136560,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static void VertexAttribs2(Int32 index, Int32 count, Single[] v) @@ -138876,7 +136598,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, Single[] v) + void VertexAttribs2(UInt32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138884,7 +136606,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -138894,21 +136616,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static @@ -138924,9 +136631,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static - void VertexAttribs2(Int32 index, Int32 count, ref Single v) + void VertexAttribs2(UInt32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138934,7 +136642,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -138947,19 +136655,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static - void VertexAttribs2h(UInt32 index, Int32 n, ref OpenTK.Half v) + unsafe void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); #if DEBUG } #endif @@ -138985,6 +136687,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(Int32 index, Int32 n, ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + unsafe void VertexAttribs2h(UInt32 index, Int32 n, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static @@ -139009,36 +136746,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static - unsafe void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - unsafe void VertexAttribs2h(UInt32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(Int32 index, Int32 n, ref OpenTK.Half v) + void VertexAttribs2h(UInt32 index, Int32 n, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139056,6 +136764,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] public static void VertexAttribs2(Int32 index, Int32 count, ref Int16 v) @@ -139091,21 +136834,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] public static @@ -139127,26 +136855,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] public static @@ -139168,6 +136876,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static void VertexAttribs3(Int32 index, Int32 count, ref Double v) @@ -139203,21 +136946,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] - public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static @@ -139239,26 +136967,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static @@ -139280,10 +136988,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, ref Single v) + void VertexAttribs3(Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139301,6 +137008,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static void VertexAttribs3(Int32 index, Int32 count, Single[] v) @@ -139324,7 +137046,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, Single[] v) + void VertexAttribs3(UInt32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139332,7 +137054,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -139342,21 +137064,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] - public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static @@ -139372,9 +137079,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static - void VertexAttribs3(Int32 index, Int32 count, ref Single v) + void VertexAttribs3(UInt32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139382,7 +137090,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -139395,19 +137103,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static - void VertexAttribs3h(UInt32 index, Int32 n, ref OpenTK.Half v) + unsafe void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); #if DEBUG } #endif @@ -139433,6 +137135,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + void VertexAttribs3h(Int32 index, Int32 n, ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + unsafe void VertexAttribs3h(UInt32 index, Int32 n, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static @@ -139457,36 +137194,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static - unsafe void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] - public static - unsafe void VertexAttribs3h(UInt32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] - public static - void VertexAttribs3h(Int32 index, Int32 n, ref OpenTK.Half v) + void VertexAttribs3h(UInt32 index, Int32 n, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139507,19 +137215,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) + unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); #if DEBUG } #endif @@ -139545,6 +137247,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static @@ -139569,36 +137306,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) + void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139631,27 +137339,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] public static void VertexAttribs4(Int32 index, Int32 count, Double[] v) @@ -139692,6 +137379,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] public static @@ -139713,21 +137436,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] public static void VertexAttribs4(Int32 index, Int32 count, ref Single v) @@ -139748,6 +137456,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] public static @@ -139769,6 +137512,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] public static @@ -139790,9 +137548,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static - void VertexAttribs4(Int32 index, Int32 count, Single[] v) + unsafe void VertexAttribs4h(Int32 index, Int32 n, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + void VertexAttribs4h(Int32 index, Int32 n, OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139800,9 +137573,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (OpenTK.Half* v_ptr = v) { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -139810,36 +137583,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static void VertexAttribs4h(Int32 index, Int32 n, ref OpenTK.Half v) @@ -139875,21 +137618,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] - public static - unsafe void VertexAttribs4h(Int32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static @@ -139911,26 +137639,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] - public static - void VertexAttribs4h(Int32 index, Int32 n, OpenTK.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static @@ -139952,6 +137660,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static void VertexAttribs4(Int32 index, Int32 count, ref Int16 v) @@ -139987,21 +137730,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static @@ -140023,26 +137751,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static @@ -140064,6 +137772,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static void VertexAttribs4(Int32 index, Int32 count, ref Byte v) @@ -140099,21 +137842,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static @@ -140135,26 +137863,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static @@ -140223,16 +137931,15 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. /// /// - [AutoGenerated(Category = "PgiMiscHints", Version = "1.1", EntryPoint = "glHintPGI")] public static - void Hint(OpenTK.Graphics.PgiMiscHints target, Int32 mode) + void Hint(PgiMiscHints target, Int32 mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glHintPGI((OpenTK.Graphics.PgiMiscHints)target, (Int32)mode); + Delegates.glHintPGI((PgiMiscHints)target, (Int32)mode); #if DEBUG } #endif @@ -140261,50 +137968,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] public static - void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Single @params) + void ColorTableParameter(SgiColorTable target, SgiColorTable pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140314,7 +137980,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); + Delegates.glColorTableParameterfvSGI((SgiColorTable)target, (SgiColorTable)pname, (Single*)@params_ptr); } } #if DEBUG @@ -140341,17 +138007,16 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single* @params) + unsafe void ColorTableParameter(SgiColorTable target, SgiColorTable pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params); + Delegates.glColorTableParameterfvSGI((SgiColorTable)target, (SgiColorTable)pname, (Single*)@params); #if DEBUG } #endif @@ -140376,10 +138041,82 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + void ColorTableParameter(SgiColorTable target, SgiColorTable pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glColorTableParameterfvSGI((SgiColorTable)target, (SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static - void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32[] @params) + unsafe void ColorTableParameter(SgiColorTable target, SgiColorTable pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterivSGI((SgiColorTable)target, (SgiColorTable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] + public static + void ColorTableParameter(SgiColorTable target, SgiColorTable pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140389,7 +138126,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameterivSGI((SgiColorTable)target, (SgiColorTable)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -140416,10 +138153,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static - void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Int32 @params) + void ColorTableParameter(SgiColorTable target, SgiColorTable pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140429,7 +138165,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glColorTableParameterivSGI((SgiColorTable)target, (SgiColorTable)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -140438,41 +138174,6 @@ namespace OpenTK.Graphics } - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// /// Define a color lookup table /// @@ -140506,59 +138207,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + void ColorTable(SgiColorTable target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] ref T5 table) where T5 : struct { #if DEBUG @@ -140568,7 +138219,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((SgiColorTable)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -140613,10 +138264,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + void ColorTable(SgiColorTable target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,,] table) where T5 : struct { #if DEBUG @@ -140626,7 +138276,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((SgiColorTable)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -140671,10 +138321,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + void ColorTable(SgiColorTable target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[,] table) where T5 : struct { #if DEBUG @@ -140684,7 +138333,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((SgiColorTable)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -140729,10 +138378,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + void ColorTable(SgiColorTable target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, [In, Out] T5[] table) where T5 : struct { #if DEBUG @@ -140742,7 +138390,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glColorTableSGI((SgiColorTable)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -140754,6 +138402,54 @@ namespace OpenTK.Graphics } + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(SgiColorTable target, PixelInternalFormat internalformat, Int32 width, PixelFormat format, PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableSGI((SgiColorTable)target, (PixelInternalFormat)internalformat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + /// /// Copy pixels into a color table /// @@ -140782,16 +138478,15 @@ namespace OpenTK.Graphics /// The width of the pixel rectangle. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glCopyColorTableSGI")] public static - void CopyColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + void CopyColorTable(SgiColorTable target, PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + Delegates.glCopyColorTableSGI((SgiColorTable)target, (PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif @@ -140816,50 +138511,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static - void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] out Single @params) + void GetColorTableParameter(SgiColorTable target, SgiColorTable pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140869,7 +138523,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); + Delegates.glGetColorTableParameterfvSGI((SgiColorTable)target, (SgiColorTable)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -140897,17 +138551,16 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single* @params) + unsafe void GetColorTableParameter(SgiColorTable target, SgiColorTable pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params); + Delegates.glGetColorTableParameterfvSGI((SgiColorTable)target, (SgiColorTable)pname, (Single*)@params); #if DEBUG } #endif @@ -140932,10 +138585,82 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + void GetColorTableParameter(SgiColorTable target, SgiColorTable pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvSGI((SgiColorTable)target, (SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static - void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32[] @params) + unsafe void GetColorTableParameter(SgiColorTable target, SgiColorTable pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterivSGI((SgiColorTable)target, (SgiColorTable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] + public static + void GetColorTableParameter(SgiColorTable target, SgiColorTable pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140945,7 +138670,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameterivSGI((SgiColorTable)target, (SgiColorTable)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -140972,10 +138697,9 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static - void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] out Int32 @params) + void GetColorTableParameter(SgiColorTable target, SgiColorTable pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140985,7 +138709,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params_ptr); + Delegates.glGetColorTableParameterivSGI((SgiColorTable)target, (SgiColorTable)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -140995,41 +138719,6 @@ namespace OpenTK.Graphics } - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// /// Retrieve contents of a color lookup table /// @@ -141053,49 +138742,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + void GetColorTable(SgiColorTable target, PixelFormat format, PixelType type, [In, Out] ref T3 table) where T3 : struct { #if DEBUG @@ -141105,7 +138754,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((SgiColorTable)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -141140,10 +138789,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + void GetColorTable(SgiColorTable target, PixelFormat format, PixelType type, [In, Out] T3[,,] table) where T3 : struct { #if DEBUG @@ -141153,7 +138801,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((SgiColorTable)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -141188,10 +138836,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + void GetColorTable(SgiColorTable target, PixelFormat format, PixelType type, [In, Out] T3[,] table) where T3 : struct { #if DEBUG @@ -141201,7 +138848,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((SgiColorTable)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -141236,10 +138883,9 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + void GetColorTable(SgiColorTable target, PixelFormat format, PixelType type, [In, Out] T3[] table) where T3 : struct { #if DEBUG @@ -141249,7 +138895,7 @@ namespace OpenTK.Graphics GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + Delegates.glGetColorTableSGI((SgiColorTable)target, (PixelFormat)format, (PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { @@ -141260,33 +138906,51 @@ namespace OpenTK.Graphics #endif } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(SgiColorTable target, PixelFormat format, PixelType type, [Out] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableSGI((SgiColorTable)target, (PixelFormat)format, (PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + } public static partial class Sgis { [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] - public static - void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) + void DetailTexFunc(TextureTarget target, Int32 n, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141296,7 +138960,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + Delegates.glDetailTexFuncSGIS((TextureTarget)target, (Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -141307,21 +138971,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - unsafe void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + unsafe void DetailTexFunc(TextureTarget target, Int32 n, Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + Delegates.glDetailTexFuncSGIS((TextureTarget)target, (Int32)n, (Single*)points); #if DEBUG } #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - void FogFunc(Int32 n, Single[] points) + void DetailTexFunc(TextureTarget target, Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141330,6 +138994,26 @@ namespace OpenTK.Graphics unsafe { fixed (Single* points_ptr = points) + { + Delegates.glDetailTexFuncSGIS((TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + public static + void FogFunc(Int32 n, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) { Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); } @@ -141356,7 +139040,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] public static - void FogFunc(Int32 n, ref Single points) + void FogFunc(Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141364,7 +139048,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = &points) + fixed (Single* points_ptr = points) { Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); } @@ -141376,27 +139060,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points) + void GetDetailTexFunc(TextureTarget target, [Out] out Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141406,7 +139070,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); + Delegates.glGetDetailTexFuncSGIS((TextureTarget)target, (Single*)points_ptr); points = *points_ptr; } } @@ -141418,21 +139082,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - unsafe void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points) + unsafe void GetDetailTexFunc(TextureTarget target, [Out] Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points); + Delegates.glGetDetailTexFuncSGIS((TextureTarget)target, (Single*)points); #if DEBUG } #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - void GetFogFunc([Out] Single[] points) + void GetDetailTexFunc(TextureTarget target, [Out] Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141442,7 +139106,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = points) { - Delegates.glGetFogFuncSGIS((Single*)points_ptr); + Delegates.glGetDetailTexFuncSGIS((TextureTarget)target, (Single*)points_ptr); } } #if DEBUG @@ -141486,121 +139150,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] public static - void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] - public static - void GetSharpenTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points) + void GetFogFunc([Out] Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141610,7 +139162,119 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = points) { - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); + Delegates.glGetFogFuncSGIS((Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + void GetPixelTexGenParameter(SgisPixelTexture pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetPixelTexGenParameterfvSGIS((SgisPixelTexture)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + unsafe void GetPixelTexGenParameter(SgisPixelTexture pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterfvSGIS((SgisPixelTexture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] + public static + void GetPixelTexGenParameter(SgisPixelTexture pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetPixelTexGenParameterfvSGIS((SgisPixelTexture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + unsafe void GetPixelTexGenParameter(SgisPixelTexture pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelTexGenParameterivSGIS((SgisPixelTexture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + void GetPixelTexGenParameter(SgisPixelTexture pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetPixelTexGenParameterivSGIS((SgisPixelTexture)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] + public static + void GetPixelTexGenParameter(SgisPixelTexture pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetPixelTexGenParameterivSGIS((SgisPixelTexture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -141620,7 +139284,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] public static - void GetSharpenTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points) + void GetSharpenTexFunc(TextureTarget target, [Out] out Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141630,7 +139294,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); + Delegates.glGetSharpenTexFuncSGIS((TextureTarget)target, (Single*)points_ptr); points = *points_ptr; } } @@ -141642,28 +139306,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] public static - unsafe void GetSharpenTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points) + unsafe void GetSharpenTexFunc(TextureTarget target, [Out] Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points); + Delegates.glGetSharpenTexFuncSGIS((TextureTarget)target, (Single*)points); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glGetSharpenTexFuncSGIS")] public static - unsafe void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single* weights) + void GetSharpenTexFunc(TextureTarget target, [Out] Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights); + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glGetSharpenTexFuncSGIS((TextureTarget)target, (Single*)points_ptr); + } + } #if DEBUG } #endif @@ -141671,7 +139340,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] public static - void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] out Single weights) + void GetTexFilterFunc(TextureTarget target, SgisTextureFilter4 filter, [Out] out Single weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141681,7 +139350,7 @@ namespace OpenTK.Graphics { fixed (Single* weights_ptr = &weights) { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); + Delegates.glGetTexFilterFuncSGIS((TextureTarget)target, (SgisTextureFilter4)filter, (Single*)weights_ptr); weights = *weights_ptr; } } @@ -141690,9 +139359,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] public static - void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single[] weights) + unsafe void GetTexFilterFunc(TextureTarget target, SgisTextureFilter4 filter, [Out] Single* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexFilterFuncSGIS((TextureTarget)target, (SgisTextureFilter4)filter, (Single*)weights); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + public static + void GetTexFilterFunc(TextureTarget target, SgisTextureFilter4 filter, [Out] Single[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141702,7 +139386,7 @@ namespace OpenTK.Graphics { fixed (Single* weights_ptr = weights) { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); + Delegates.glGetTexFilterFuncSGIS((TextureTarget)target, (SgisTextureFilter4)filter, (Single*)weights_ptr); } } #if DEBUG @@ -141712,13 +139396,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single param) + void PixelTexGenParameter(SgisPixelTexture pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single)param); + Delegates.glPixelTexGenParameterfSGIS((SgisPixelTexture)pname, (Single)param); #if DEBUG } #endif @@ -141727,13 +139411,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single* @params) + unsafe void PixelTexGenParameter(SgisPixelTexture pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params); + Delegates.glPixelTexGenParameterfvSGIS((SgisPixelTexture)pname, (Single*)@params); #if DEBUG } #endif @@ -141741,7 +139425,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single[] @params) + void PixelTexGenParameter(SgisPixelTexture pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141751,7 +139435,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params_ptr); + Delegates.glPixelTexGenParameterfvSGIS((SgisPixelTexture)pname, (Single*)@params_ptr); } } #if DEBUG @@ -141761,13 +139445,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameteriSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32 param) + void PixelTexGenParameter(SgisPixelTexture pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32)param); + Delegates.glPixelTexGenParameteriSGIS((SgisPixelTexture)pname, (Int32)param); #if DEBUG } #endif @@ -141776,13 +139460,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32* @params) + unsafe void PixelTexGenParameter(SgisPixelTexture pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params); + Delegates.glPixelTexGenParameterivSGIS((SgisPixelTexture)pname, (Int32*)@params); #if DEBUG } #endif @@ -141790,7 +139474,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32[] @params) + void PixelTexGenParameter(SgisPixelTexture pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141800,7 +139484,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); + Delegates.glPixelTexGenParameterivSGIS((SgisPixelTexture)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -141822,16 +139506,15 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfSGIS")] public static - void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single param) + void PointParameter(SgisPointParameters pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single)param); + Delegates.glPointParameterfSGIS((SgisPointParameters)pname, (Single)param); #if DEBUG } #endif @@ -141851,17 +139534,16 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvSGIS")] public static - unsafe void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single* @params) + unsafe void PointParameter(SgisPointParameters pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single*)@params); + Delegates.glPointParameterfvSGIS((SgisPointParameters)pname, (Single*)@params); #if DEBUG } #endif @@ -141881,10 +139563,9 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvSGIS")] public static - void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single[] @params) + void PointParameter(SgisPointParameters pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141894,7 +139575,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single*)@params_ptr); + Delegates.glPointParameterfvSGIS((SgisPointParameters)pname, (Single*)@params_ptr); } } #if DEBUG @@ -141918,28 +139599,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisMultisample", Version = "1.0", EntryPoint = "glSamplePatternSGIS")] public static - void SamplePattern(OpenTK.Graphics.SgisMultisample pattern) + void SamplePattern(SgisMultisample pattern) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSamplePatternSGIS((OpenTK.Graphics.SgisMultisample)pattern); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] - public static - unsafe void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + Delegates.glSamplePatternSGIS((SgisMultisample)pattern); #if DEBUG } #endif @@ -141947,27 +139613,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] public static - void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] - public static - void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) + void SharpenTexFunc(TextureTarget target, Int32 n, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141977,7 +139623,42 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + Delegates.glSharpenTexFuncSGIS((TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + unsafe void SharpenTexFunc(TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSharpenTexFuncSGIS((TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + void SharpenTexFunc(TextureTarget target, Int32 n, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glSharpenTexFuncSGIS((TextureTarget)target, (Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -141987,7 +139668,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] public static - void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single[] weights) + void TexFilterFunc(TextureTarget target, SgisTextureFilter4 filter, Int32 n, ref Single weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141995,9 +139676,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = weights) + fixed (Single* weights_ptr = &weights) { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + Delegates.glTexFilterFuncSGIS((TextureTarget)target, (SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); } } #if DEBUG @@ -142008,13 +139689,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] public static - unsafe void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single* weights) + unsafe void TexFilterFunc(TextureTarget target, SgisTextureFilter4 filter, Int32 n, Single* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); + Delegates.glTexFilterFuncSGIS((TextureTarget)target, (SgisTextureFilter4)filter, (Int32)n, (Single*)weights); #if DEBUG } #endif @@ -142022,7 +139703,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] public static - void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, ref Single weights) + void TexFilterFunc(TextureTarget target, SgisTextureFilter4 filter, Int32 n, Single[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142030,9 +139711,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = &weights) + fixed (Single* weights_ptr = weights) { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + Delegates.glTexFilterFuncSGIS((TextureTarget)target, (SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); } } #if DEBUG @@ -142042,7 +139723,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + void TexImage4D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, PixelFormat format, PixelType type, [In, Out] ref T10 pixels) where T10 : struct { #if DEBUG @@ -142052,7 +139733,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage4DSGIS((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142065,21 +139746,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + void TexImage4D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,,] pixels) where T10 : struct { #if DEBUG @@ -142089,7 +139756,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage4DSGIS((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142102,7 +139769,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void TexImage4D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[,] pixels) where T10 : struct { #if DEBUG @@ -142112,7 +139779,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage4DSGIS((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142125,7 +139792,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + void TexImage4D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, PixelFormat format, PixelType type, [In, Out] T10[] pixels) where T10 : struct { #if DEBUG @@ -142135,7 +139802,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexImage4DSGIS((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142146,9 +139813,23 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage4DSGIS((TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T12 pixels) + void TexSubImage4D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, PixelFormat format, PixelType type, [In, Out] ref T12 pixels) where T12 : struct { #if DEBUG @@ -142158,7 +139839,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage4DSGIS((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142171,21 +139852,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[] pixels) + void TexSubImage4D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, PixelFormat format, PixelType type, [In, Out] T12[,,] pixels) where T12 : struct { #if DEBUG @@ -142195,7 +139862,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage4DSGIS((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142208,7 +139875,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,,] pixels) + void TexSubImage4D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, PixelFormat format, PixelType type, [In, Out] T12[,] pixels) where T12 : struct { #if DEBUG @@ -142218,7 +139885,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage4DSGIS((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142231,7 +139898,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,] pixels) + void TexSubImage4D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, PixelFormat format, PixelType type, [In, Out] T12[] pixels) where T12 : struct { #if DEBUG @@ -142241,7 +139908,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage4DSGIS((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (PixelFormat)format, (PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -142252,6 +139919,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, PixelFormat format, PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage4DSGIS((TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (PixelFormat)format, (PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisTextureColorMask", Version = "1.1", EntryPoint = "glTextureColorMaskSGIS")] public static void TextureColorMask(bool red, bool green, bool blue, bool alpha) @@ -142302,13 +139983,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] public static - unsafe void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + unsafe void DeformationMap3(SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + Delegates.glDeformationMap3dSGIX((SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); #if DEBUG } #endif @@ -142316,27 +139997,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) + void DeformationMap3(SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142346,7 +140007,7 @@ namespace OpenTK.Graphics { fixed (Double* points_ptr = points) { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); + Delegates.glDeformationMap3dSGIX((SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); } } #if DEBUG @@ -142354,9 +140015,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) + void DeformationMap3(SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142364,9 +140025,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = points) + fixed (Double* points_ptr = &points) { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + Delegates.glDeformationMap3dSGIX((SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); } } #if DEBUG @@ -142376,7 +140037,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) + void DeformationMap3(SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142386,7 +140047,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + Delegates.glDeformationMap3fSGIX((SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); } } #if DEBUG @@ -142397,13 +140058,33 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] public static - unsafe void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) + unsafe void DeformationMap3(SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); + Delegates.glDeformationMap3fSGIX((SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + public static + void DeformationMap3(SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glDeformationMap3fSGIX((SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } #if DEBUG } #endif @@ -142438,21 +140119,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] - public static - void DeleteAsyncMarkers(UInt32 marker, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] public static void DeleteAsyncMarkers(Int32 marker, Int32 range) @@ -142468,23 +140134,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] public static - Int32 FinishAsync([Out] out UInt32 markerp) + void DeleteAsyncMarkers(UInt32 marker, Int32 range) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* markerp_ptr = &markerp) - { - Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; - } - } + Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); #if DEBUG } #endif @@ -142505,21 +140163,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] - public static - unsafe Int32 FinishAsync([Out] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] public static Int32 FinishAsync([Out] out Int32 markerp) @@ -142542,6 +140185,44 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + Int32 FinishAsync([Out] out UInt32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + unsafe Int32 FinishAsync([Out] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFlushRaster", Version = "1.0", EntryPoint = "glFlushRasterSGIX")] public static void FlushRaster() @@ -142558,13 +140239,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentColorMaterialSGIX")] public static - void FragmentColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode) + void FragmentColorMaterial(MaterialFace face, MaterialParameter mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentColorMaterialSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)mode); + Delegates.glFragmentColorMaterialSGIX((MaterialFace)face, (MaterialParameter)mode); #if DEBUG } #endif @@ -142572,13 +140253,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightfSGIX")] public static - void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single param) + void FragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightfSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single)param); + Delegates.glFragmentLightfSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Single)param); #if DEBUG } #endif @@ -142587,13 +140268,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] public static - unsafe void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single* @params) + unsafe void FragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); + Delegates.glFragmentLightfvSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Single*)@params); #if DEBUG } #endif @@ -142601,7 +140282,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] public static - void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single[] @params) + void FragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142611,7 +140292,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); + Delegates.glFragmentLightfvSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Single*)@params_ptr); } } #if DEBUG @@ -142621,13 +140302,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightiSGIX")] public static - void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) + void FragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightiSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32)param); + Delegates.glFragmentLightiSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Int32)param); #if DEBUG } #endif @@ -142636,13 +140317,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] public static - unsafe void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params) + unsafe void FragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); + Delegates.glFragmentLightivSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Int32*)@params); #if DEBUG } #endif @@ -142650,7 +140331,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] public static - void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32[] @params) + void FragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142660,7 +140341,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params_ptr); + Delegates.glFragmentLightivSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -142670,13 +140351,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfSGIX")] public static - void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single param) + void FragmentLightModel(SgixFragmentLighting pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Single)param); + Delegates.glFragmentLightModelfSGIX((SgixFragmentLighting)pname, (Single)param); #if DEBUG } #endif @@ -142685,13 +140366,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] public static - unsafe void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single* @params) + unsafe void FragmentLightModel(SgixFragmentLighting pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); + Delegates.glFragmentLightModelfvSGIX((SgixFragmentLighting)pname, (Single*)@params); #if DEBUG } #endif @@ -142699,7 +140380,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] public static - void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single[] @params) + void FragmentLightModel(SgixFragmentLighting pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142709,7 +140390,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); + Delegates.glFragmentLightModelfvSGIX((SgixFragmentLighting)pname, (Single*)@params_ptr); } } #if DEBUG @@ -142719,13 +140400,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModeliSGIX")] public static - void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) + void FragmentLightModel(SgixFragmentLighting pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32)param); + Delegates.glFragmentLightModeliSGIX((SgixFragmentLighting)pname, (Int32)param); #if DEBUG } #endif @@ -142734,13 +140415,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] public static - unsafe void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params) + unsafe void FragmentLightModel(SgixFragmentLighting pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); + Delegates.glFragmentLightModelivSGIX((SgixFragmentLighting)pname, (Int32*)@params); #if DEBUG } #endif @@ -142748,7 +140429,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] public static - void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32[] @params) + void FragmentLightModel(SgixFragmentLighting pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142758,7 +140439,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params_ptr); + Delegates.glFragmentLightModelivSGIX((SgixFragmentLighting)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -142768,13 +140449,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialfSGIX")] public static - void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) + void FragmentMaterial(MaterialFace face, MaterialParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentMaterialfSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single)param); + Delegates.glFragmentMaterialfSGIX((MaterialFace)face, (MaterialParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialfvSGIX")] + public static + unsafe void FragmentMaterial(MaterialFace face, MaterialParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentMaterialfvSGIX((MaterialFace)face, (MaterialParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -142782,7 +140478,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialfvSGIX")] public static - void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params) + void FragmentMaterial(MaterialFace face, MaterialParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142792,7 +140488,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + Delegates.glFragmentMaterialfvSGIX((MaterialFace)face, (MaterialParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -142800,30 +140496,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialfvSGIX")] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialiSGIX")] public static - unsafe void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params) + void FragmentMaterial(MaterialFace face, MaterialParameter pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); + Delegates.glFragmentMaterialiSGIX((MaterialFace)face, (MaterialParameter)pname, (Int32)param); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialiSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialivSGIX")] public static - void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param) + unsafe void FragmentMaterial(MaterialFace face, MaterialParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFragmentMaterialiSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32)param); + Delegates.glFragmentMaterialivSGIX((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -142831,7 +140527,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialivSGIX")] public static - void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params) + void FragmentMaterial(MaterialFace face, MaterialParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142841,7 +140537,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + Delegates.glFragmentMaterialivSGIX((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -142849,21 +140545,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialivSGIX")] - public static - unsafe void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFramezoom", Version = "1.0", EntryPoint = "glFrameZoomSGIX")] public static void FrameZoom(Int32 factor) @@ -142894,27 +140575,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] out Single @params) + void GetFragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -142924,7 +140585,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); + Delegates.glGetFragmentLightfvSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -142936,92 +140597,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] public static - unsafe void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single* @params) + unsafe void GetFragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); + Delegates.glGetFragmentLightfvSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Single*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] - public static - unsafe void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static - unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static - void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) + void GetFragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143031,7 +140621,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + Delegates.glGetFragmentLightfvSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Single*)@params_ptr); } } #if DEBUG @@ -143039,30 +140629,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] public static - void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) + unsafe void GetFragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetFragmentLightivSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Int32*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] public static - void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) + void GetFragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143072,7 +140656,84 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + Delegates.glGetFragmentLightivSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] + public static + void GetFragmentLight(SgixFragmentLighting light, SgixFragmentLighting pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFragmentLightivSGIX((SgixFragmentLighting)light, (SgixFragmentLighting)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + void GetFragmentMaterial(MaterialFace face, MaterialParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFragmentMaterialfvSGIX((MaterialFace)face, (MaterialParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + unsafe void GetFragmentMaterial(MaterialFace face, MaterialParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentMaterialfvSGIX((MaterialFace)face, (MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + void GetFragmentMaterial(MaterialFace face, MaterialParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFragmentMaterialfvSGIX((MaterialFace)face, (MaterialParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -143083,13 +140744,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] public static - unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + unsafe void GetFragmentMaterial(MaterialFace face, MaterialParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + Delegates.glGetFragmentMaterialivSGIX((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -143097,7 +140758,27 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] public static - void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) + void GetFragmentMaterial(MaterialFace face, MaterialParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFragmentMaterialivSGIX((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + public static + void GetFragmentMaterial(MaterialFace face, MaterialParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143107,7 +140788,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + Delegates.glGetFragmentMaterialivSGIX((MaterialFace)face, (MaterialParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -143132,58 +140813,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) + void GetListParameter(Int32 list, ListParameterName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143193,28 +140823,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + Delegates.glGetListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -143226,7 +140835,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) + unsafe void GetListParameter(Int32 list, ListParameterName pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(Int32 list, ListParameterName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143236,7 +140859,100 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + Delegates.glGetListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(UInt32 list, ListParameterName pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + unsafe void GetListParameter(UInt32 list, ListParameterName pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(UInt32 list, ListParameterName pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + unsafe void GetListParameter(Int32 list, ListParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(Int32 list, ListParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -143246,7 +140962,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) + void GetListParameter(Int32 list, ListParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143256,7 +140972,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -143268,13 +140984,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) + unsafe void GetListParameter(UInt32 list, ListParameterName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); + Delegates.glGetListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -143283,22 +140999,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) + void GetListParameter(UInt32 list, ListParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143308,27 +141009,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -143339,7 +141020,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) + void GetListParameter(UInt32 list, ListParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143349,7 +141030,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -143360,7 +141041,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] ref T1 @params) + void IglooInterface(All pname, [In, Out] ref T1 @params) where T1 : struct { #if DEBUG @@ -143370,7 +141051,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glIglooInterfaceSGIX((All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -143383,21 +141064,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[] @params) + void IglooInterface(All pname, [In, Out] T1[,,] @params) where T1 : struct { #if DEBUG @@ -143407,7 +141074,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glIglooInterfaceSGIX((All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -143420,7 +141087,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,,] @params) + void IglooInterface(All pname, [In, Out] T1[,] @params) where T1 : struct { #if DEBUG @@ -143430,7 +141097,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glIglooInterfaceSGIX((All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -143443,7 +141110,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,] @params) + void IglooInterface(All pname, [In, Out] T1[] @params) where T1 : struct { #if DEBUG @@ -143453,7 +141120,7 @@ namespace OpenTK.Graphics GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glIglooInterfaceSGIX((All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); } finally { @@ -143464,6 +141131,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(All pname, IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIglooInterfaceSGIX((All)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] public static @@ -143479,6 +141160,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = buffer) + { + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] public static void InstrumentsBuffer(Int32 size, [Out] out Int32 buffer) @@ -143500,21 +141201,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] public static - void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) + bool IsAsyncMarker(Int32 marker) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); - } - } + return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); #if DEBUG } #endif @@ -143535,29 +141230,29 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] - public static - bool IsAsyncMarker(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glLightEnviSGIX")] public static - void LightEnv(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) + void LightEnv(SgixFragmentLighting pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightEnviSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32)param); + Delegates.glLightEnviSGIX((SgixFragmentLighting)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] + public static + void ListParameter(Int32 list, ListParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfSGIX((UInt32)list, (ListParameterName)pname, (Single)param); #if DEBUG } #endif @@ -143566,27 +141261,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param) + void ListParameter(UInt32 list, ListParameterName pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param); + Delegates.glListParameterfSGIX((UInt32)list, (ListParameterName)pname, (Single)param); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single param) + unsafe void ListParameter(Int32 list, ListParameterName pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param); + Delegates.glListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params); #if DEBUG } #endif @@ -143594,7 +141290,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) + void ListParameter(Int32 list, ListParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143604,7 +141300,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + Delegates.glListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -143615,7 +141311,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) + unsafe void ListParameter(UInt32 list, ListParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + void ListParameter(UInt32 list, ListParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143625,7 +141336,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + Delegates.glListParameterfvSGIX((UInt32)list, (ListParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -143633,31 +141344,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) + void ListParameter(Int32 list, ListParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] - public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); + Delegates.glListParameteriSGIX((UInt32)list, (ListParameterName)pname, (Int32)param); #if DEBUG } #endif @@ -143666,27 +141361,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) + void ListParameter(UInt32 list, ListParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param); + Delegates.glListParameteriSGIX((UInt32)list, (ListParameterName)pname, (Int32)param); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) + unsafe void ListParameter(Int32 list, ListParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param); + Delegates.glListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -143694,7 +141390,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params) + void ListParameter(Int32 list, ListParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143704,7 +141400,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + Delegates.glListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -143715,7 +141411,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params) + unsafe void ListParameter(UInt32 list, ListParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + void ListParameter(UInt32 list, ListParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -143725,7 +141436,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + Delegates.glListParameterivSGIX((UInt32)list, (ListParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -143733,36 +141444,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] - public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] - public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] public static void LoadIdentityDeformationMap(Int32 mask) @@ -143794,28 +141475,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenSGIX")] public static - void PixelTexGen(OpenTK.Graphics.SgixPixelTexture mode) + void PixelTexGen(SgixPixelTexture mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenSGIX((OpenTK.Graphics.SgixPixelTexture)mode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] - public static - unsafe Int32 PollAsync([Out] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollAsyncSGIX((UInt32*)markerp); + Delegates.glPixelTexGenSGIX((SgixPixelTexture)mode); #if DEBUG } #endif @@ -143881,6 +141547,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + unsafe Int32 PollAsync([Out] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] + public static + unsafe Int32 PollInstruments([Out] Int32* marker_p) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] public static Int32 PollInstruments([Out] out Int32 marker_p) @@ -143903,21 +141599,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] - public static - unsafe Int32 PollInstruments([Out] Int32* marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glReadInstrumentsSGIX")] public static void ReadInstruments(Int32 marker) @@ -143947,26 +141628,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] - public static - void ReferencePlane(ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glReferencePlaneSGIX((Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] public static void ReferencePlane(Double[] equation) @@ -143987,15 +141648,35 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfSGIX")] + [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single param) + void ReferencePlane(ref Double equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.SgixSprite)pname, (Single)param); + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glReferencePlaneSGIX((Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfSGIX")] + public static + void SpriteParameter(SgixSprite pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterfSGIX((SgixSprite)pname, (Single)param); #if DEBUG } #endif @@ -144004,13 +141685,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] public static - unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single* @params) + unsafe void SpriteParameter(SgixSprite pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.SgixSprite)pname, (Single*)@params); + Delegates.glSpriteParameterfvSGIX((SgixSprite)pname, (Single*)@params); #if DEBUG } #endif @@ -144018,7 +141699,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single[] @params) + void SpriteParameter(SgixSprite pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -144028,7 +141709,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.SgixSprite)pname, (Single*)@params_ptr); + Delegates.glSpriteParameterfvSGIX((SgixSprite)pname, (Single*)@params_ptr); } } #if DEBUG @@ -144038,13 +141719,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameteriSGIX")] public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32 param) + void SpriteParameter(SgixSprite pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32)param); + Delegates.glSpriteParameteriSGIX((SgixSprite)pname, (Int32)param); #if DEBUG } #endif @@ -144053,13 +141734,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] public static - unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32* @params) + unsafe void SpriteParameter(SgixSprite pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params); + Delegates.glSpriteParameterivSGIX((SgixSprite)pname, (Int32*)@params); #if DEBUG } #endif @@ -144067,7 +141748,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32[] @params) + void SpriteParameter(SgixSprite pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -144077,7 +141758,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params_ptr); + Delegates.glSpriteParameterivSGIX((SgixSprite)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -144147,7 +141828,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] public static - void Color3fVertex3(Single[] c, Single[] v) + void Color3fVertex3(ref Single c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -144155,8 +141836,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) { Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); } @@ -144183,7 +141864,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] public static - void Color3fVertex3(ref Single c, ref Single v) + void Color3fVertex3(Single[] c, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -144191,8 +141872,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) { Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); } @@ -144216,28 +141897,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] public static void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) @@ -144275,6 +141934,28 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fSUN")] public static void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y) @@ -144304,27 +141985,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - void Color4ubVertex2(ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] public static void Color4ubVertex2(Byte[] c, Single[] v) @@ -144346,23 +142006,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] public static - void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - void Color4ubVertex3(ref Byte c, ref Single v) + void Color4ubVertex2(ref Byte c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -144373,7 +142019,7 @@ namespace OpenTK.Graphics fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = &v) { - Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); } } #if DEBUG @@ -144381,6 +142027,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fSUN")] + public static + void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] public static @@ -144417,15 +142077,36 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunMeshArray", Version = "1.1", EntryPoint = "glDrawMeshArraysSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] public static - void DrawMeshArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width) + void Color4ubVertex3(ref Byte c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)width); + unsafe + { + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunMeshArray", Version = "1.1", EntryPoint = "glDrawMeshArraysSUN")] + public static + void DrawMeshArrays(BeginMode mode, Int32 first, Int32 count, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawMeshArraysSUN((BeginMode)mode, (Int32)first, (Int32)count, (Int32)width); #if DEBUG } #endif @@ -144574,21 +142255,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - unsafe void Normal3fVertex3(Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] public static void Normal3fVertex3(ref Single n, ref Single v) @@ -144610,6 +142276,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] + public static + unsafe void Normal3fVertex3(Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] public static void Normal3fVertex3(Single[] n, Single[] v) @@ -144633,7 +142314,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] ref T2 pointer) + void ReplacementCodePointer(SunTriangleList type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -144643,7 +142324,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glReplacementCodePointerSUN((SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -144656,21 +142337,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[] pointer) + void ReplacementCodePointer(SunTriangleList type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -144680,7 +142347,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glReplacementCodePointerSUN((SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -144693,7 +142360,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,,] pointer) + void ReplacementCodePointer(SunTriangleList type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -144703,7 +142370,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glReplacementCodePointerSUN((SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -144716,7 +142383,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,] pointer) + void ReplacementCodePointer(SunTriangleList type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -144726,7 +142393,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glReplacementCodePointerSUN((SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -144737,6 +142404,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(SunTriangleList type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodePointerSUN((SunTriangleList)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubSUN")] public static void ReplacementCode(Byte code) @@ -144751,6 +142432,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] + public static + unsafe void ReplacementCode(Byte* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeubvSUN((Byte*)code); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] public static void ReplacementCode(Byte[] code) @@ -144771,21 +142467,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] - public static - unsafe void ReplacementCode(Byte* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeubvSUN((Byte*)code); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] public static void ReplacementCodeuiColor3fVertex3(Int32 rc, Single r, Single g, Single b, Single x, Single y, Single z) @@ -144818,40 +142499,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static - void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, ref Single v) + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); #if DEBUG } #endif @@ -144901,13 +142555,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single* c, Single* v) + void ReplacementCodeuiColor3fVertex3(ref UInt32 rc, ref Single c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -144929,15 +142591,19 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static - void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); + } #if DEBUG } #endif @@ -144957,6 +142623,79 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiColor4fNormal3fVertex3(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static @@ -144984,18 +142723,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); #if DEBUG } #endif @@ -145021,54 +142755,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) + void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -145089,15 +142784,57 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] public static - void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -145126,6 +142863,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] public static @@ -145145,72 +142897,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) + void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } + Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -145231,15 +142926,35 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] public static - void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); + } #if DEBUG } #endif @@ -145270,13 +142985,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -145285,7 +143008,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -145316,48 +143039,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] public static void ReplacementCode(Int32 code) @@ -145387,6 +143068,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] public static @@ -145402,15 +143097,37 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } #if DEBUG } #endif @@ -145465,21 +143182,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] public static @@ -145516,22 +143218,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) + void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -145552,15 +143247,59 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -145593,18 +143332,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); #if DEBUG } #endif @@ -145630,59 +143364,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] public static void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) @@ -145712,6 +143393,40 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, ref Single v) @@ -145734,6 +143449,29 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static @@ -145749,21 +143487,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static @@ -145783,48 +143506,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] public static void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) @@ -145869,6 +143550,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] public static void ReplacementCodeuiVertex3(ref Int32 rc, ref Single v) @@ -145890,21 +143589,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] public static @@ -145930,16 +143614,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); #if DEBUG } #endif @@ -145963,27 +143644,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] - public static - void ReplacementCode(UInt32[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* code_ptr = code) - { - Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] public static @@ -145999,21 +143659,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] - public static - unsafe void ReplacementCode(UInt32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuivSUN((UInt32*)code); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] public static void ReplacementCode(Int32[] code) @@ -146034,6 +143679,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + unsafe void ReplacementCode(UInt32* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuivSUN((UInt32*)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + void ReplacementCode(UInt32[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* code_ptr = code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] public static void ReplacementCode(Int16 code) @@ -146148,21 +143829,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] public static void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v) @@ -146185,6 +143851,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] public static void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) @@ -146296,28 +143977,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] public static void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) @@ -146355,6 +144014,28 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] public static void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -146369,6 +144050,28 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] public static @@ -146406,28 +144109,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fSUN")] public static void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) @@ -146463,6 +144144,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + unsafe void TexCoord2fVertex3(Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] public static void TexCoord2fVertex3(Single[] tc, Single[] v) @@ -146484,21 +144180,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - unsafe void TexCoord2fVertex3(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN")] public static void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) @@ -146513,21 +144194,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] public static void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v) @@ -146551,6 +144217,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] public static void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) @@ -146609,6 +144290,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + unsafe void TexCoord4fVertex4(Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] public static void TexCoord4fVertex4(Single[] tc, Single[] v) @@ -146630,21 +144326,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - unsafe void TexCoord4fVertex4(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - } public static partial class Sunx diff --git a/Source/OpenTK/Graphics/GL/GLCore.cs b/Source/OpenTK/Graphics/GL/GLCore.cs index 6713b2f5..673c3472 100644 --- a/Source/OpenTK/Graphics/GL/GLCore.cs +++ b/Source/OpenTK/Graphics/GL/GLCore.cs @@ -25,7 +25,7 @@ // #endregion -namespace OpenTK.Graphics +namespace OpenTK.Graphics.OpenGL { using System; using System.Runtime.InteropServices; @@ -40,34 +40,34 @@ namespace OpenTK.Graphics [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccum", ExactSpelling = true)] - internal extern static void Accum(OpenTK.Graphics.AccumOp op, Single value); + internal extern static void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveStencilFaceEXT", ExactSpelling = true)] - internal extern static void ActiveStencilFaceEXT(OpenTK.Graphics.ExtStencilTwoSide face); + internal extern static void ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] - internal extern static void ActiveTexture(OpenTK.Graphics.TextureUnit texture); + internal extern static void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTextureARB", ExactSpelling = true)] - internal extern static void ActiveTextureARB(OpenTK.Graphics.TextureUnit texture); + internal extern static void ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveVaryingNV", ExactSpelling = true)] internal extern static void ActiveVaryingNV(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp1ATI", ExactSpelling = true)] - internal extern static void AlphaFragmentOp1ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + internal extern static void AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp2ATI", ExactSpelling = true)] - internal extern static void AlphaFragmentOp2ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + internal extern static void AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp3ATI", ExactSpelling = true)] - internal extern static void AlphaFragmentOp3ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + internal extern static void AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] - internal extern static void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref); + internal extern static void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glApplyTextureEXT", ExactSpelling = true)] - internal extern static void ApplyTextureEXT(OpenTK.Graphics.ExtLightTexture mode); + internal extern static void ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreProgramsResidentNV", ExactSpelling = true)] internal extern static unsafe bool AreProgramsResidentNV(Int32 n, UInt32* programs, [Out] bool* residences); @@ -85,7 +85,7 @@ namespace OpenTK.Graphics internal extern static void ArrayElementEXT(Int32 i); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayObjectATI", ExactSpelling = true)] - internal extern static void ArrayObjectATI(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + internal extern static void ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAsyncMarkerSGIX", ExactSpelling = true)] internal extern static void AsyncMarkerSGIX(UInt32 marker); @@ -97,13 +97,13 @@ namespace OpenTK.Graphics internal extern static void AttachShader(UInt32 program, UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBegin", ExactSpelling = true)] - internal extern static void Begin(OpenTK.Graphics.BeginMode mode); + internal extern static void Begin(OpenTK.Graphics.OpenGL.BeginMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRender", ExactSpelling = true)] - internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.ConditionalRenderType mode); + internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRenderNV", ExactSpelling = true)] - internal extern static void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.NvConditionalRender mode); + internal extern static void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginFragmentShaderATI", ExactSpelling = true)] internal extern static void BeginFragmentShaderATI(); @@ -115,19 +115,19 @@ namespace OpenTK.Graphics internal extern static void BeginPerfMonitorAMD(UInt32 monitor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] - internal extern static void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id); + internal extern static void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryARB", ExactSpelling = true)] - internal extern static void BeginQueryARB(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id); + internal extern static void BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] - internal extern static void BeginTransformFeedback(OpenTK.Graphics.BeginFeedbackMode primitiveMode); + internal extern static void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackEXT", ExactSpelling = true)] - internal extern static void BeginTransformFeedbackEXT(OpenTK.Graphics.ExtTransformFeedback primitiveMode); + internal extern static void BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackNV", ExactSpelling = true)] - internal extern static void BeginTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback primitiveMode); + internal extern static void BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginVertexShaderEXT", ExactSpelling = true)] internal extern static void BeginVertexShaderEXT(); @@ -139,34 +139,34 @@ namespace OpenTK.Graphics internal extern static void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] - internal extern static void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer); + internal extern static void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferARB", ExactSpelling = true)] - internal extern static void BindBufferARB(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer); + internal extern static void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] - internal extern static void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer); + internal extern static void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseEXT", ExactSpelling = true)] - internal extern static void BindBufferBaseEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer); + internal extern static void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseNV", ExactSpelling = true)] - internal extern static void BindBufferBaseNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer); + internal extern static void BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetEXT", ExactSpelling = true)] - internal extern static void BindBufferOffsetEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + internal extern static void BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetNV", ExactSpelling = true)] - internal extern static void BindBufferOffsetNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + internal extern static void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] - internal extern static void BindBufferRange(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal extern static void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeEXT", ExactSpelling = true)] - internal extern static void BindBufferRangeEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal extern static void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeNV", ExactSpelling = true)] - internal extern static void BindBufferRangeNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal extern static void BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocation", ExactSpelling = true)] internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, String name); @@ -178,49 +178,49 @@ namespace OpenTK.Graphics internal extern static void BindFragmentShaderATI(UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] - internal extern static void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer); + internal extern static void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferEXT", ExactSpelling = true)] - internal extern static void BindFramebufferEXT(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer); + internal extern static void BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindLightParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindLightParameterEXT(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value); + internal extern static Int32 BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMaterialParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindMaterialParameterEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value); + internal extern static Int32 BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMultiTextureEXT", ExactSpelling = true)] - internal extern static void BindMultiTextureEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture); + internal extern static void BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindParameterEXT(OpenTK.Graphics.ExtVertexShader value); + internal extern static Int32 BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramARB", ExactSpelling = true)] - internal extern static void BindProgramARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program); + internal extern static void BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramNV", ExactSpelling = true)] - internal extern static void BindProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id); + internal extern static void BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] - internal extern static void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer); + internal extern static void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferEXT", ExactSpelling = true)] - internal extern static void BindRenderbufferEXT(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer); + internal extern static void BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexGenParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindTexGenParameterEXT(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value); + internal extern static Int32 BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] - internal extern static void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture); + internal extern static void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureEXT", ExactSpelling = true)] - internal extern static void BindTextureEXT(OpenTK.Graphics.TextureTarget target, UInt32 texture); + internal extern static void BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureUnitParameterEXT", ExactSpelling = true)] - internal extern static Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.ExtVertexShader value); + internal extern static Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedbackNV", ExactSpelling = true)] - internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 target, UInt32 id); + internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] internal extern static void BindVertexArray(UInt32 array); @@ -262,7 +262,7 @@ namespace OpenTK.Graphics internal extern static unsafe void Binormal3svEXT(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormalPointerEXT", ExactSpelling = true)] - internal extern static void BinormalPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + internal extern static void BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmap", ExactSpelling = true)] internal extern static unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); @@ -274,112 +274,112 @@ namespace OpenTK.Graphics internal extern static void BlendColorEXT(Single red, Single green, Single blue, Single alpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] - internal extern static void BlendEquation(OpenTK.Graphics.BlendEquationMode mode); + internal extern static void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] - internal extern static void BlendEquationEXT(OpenTK.Graphics.ExtBlendMinmax mode); + internal extern static void BlendEquationEXT(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationi", ExactSpelling = true)] - internal extern static void BlendEquationi(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode); + internal extern static void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationIndexedAMD", ExactSpelling = true)] - internal extern static void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode); + internal extern static void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] - internal extern static void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); + internal extern static void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateEXT", ExactSpelling = true)] - internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha); + internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparatei", ExactSpelling = true)] - internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); + internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateIndexedAMD", ExactSpelling = true)] - internal extern static void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha); + internal extern static void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] - internal extern static void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor); + internal extern static void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunci", ExactSpelling = true)] - internal extern static void BlendFunci(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst); + internal extern static void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncIndexedAMD", ExactSpelling = true)] - internal extern static void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst); + internal extern static void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] - internal extern static void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha); + internal extern static void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateEXT", ExactSpelling = true)] - internal extern static void BlendFuncSeparateEXT(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha); + internal extern static void BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparatei", ExactSpelling = true)] - internal extern static void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha); + internal extern static void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateIndexedAMD", ExactSpelling = true)] - internal extern static void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha); + internal extern static void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateINGR", ExactSpelling = true)] - internal extern static void BlendFuncSeparateINGR(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha); + internal extern static void BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] - internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter); + internal extern 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.BlitFramebufferFilter filter); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferEXT", ExactSpelling = true)] - internal extern static void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.ExtFramebufferBlit filter); + internal extern static void BlitFramebufferEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] - internal extern static void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage); + internal extern static void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferDataARB", ExactSpelling = true)] - internal extern static void BufferDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage); + internal extern static void BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferParameteriAPPLE", ExactSpelling = true)] - internal extern static void BufferParameteriAPPLE(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterApple pname, Int32 param); + internal extern static void BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] - internal extern static void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + internal extern static void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubDataARB", ExactSpelling = true)] - internal extern static void BufferSubDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); + internal extern static void BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallList", ExactSpelling = true)] internal extern static void CallList(UInt32 list); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallLists", ExactSpelling = true)] - internal extern static void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists); + internal extern static void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] - internal extern static OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target); + internal extern static OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.FramebufferTarget target); + internal extern static OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckNamedFramebufferStatusEXT", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferTarget target); + internal extern static OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)] - internal extern static void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp); + internal extern static void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColorARB", ExactSpelling = true)] - internal extern static void ClampColorARB(OpenTK.Graphics.ArbColorBufferFloat target, OpenTK.Graphics.ArbColorBufferFloat clamp); + internal extern static void ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] - internal extern static void Clear(OpenTK.Graphics.ClearBufferMask mask); + internal extern static void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearAccum", ExactSpelling = true)] internal extern static void ClearAccum(Single red, Single green, Single blue, Single alpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)] - internal extern static void ClearBufferfi(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); + internal extern static void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value); + internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value); + internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)] - internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); + internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); @@ -403,22 +403,22 @@ namespace OpenTK.Graphics internal extern static void ClearStencil(Int32 s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] - internal extern static void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture); + internal extern static void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTextureARB", ExactSpelling = true)] - internal extern static void ClientActiveTextureARB(OpenTK.Graphics.TextureUnit texture); + internal extern static void ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveVertexStreamATI", ExactSpelling = true)] - internal extern static void ClientActiveVertexStreamATI(OpenTK.Graphics.AtiVertexStreams stream); + internal extern static void ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientAttribDefaultEXT", ExactSpelling = true)] - internal extern static void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); + internal extern static void ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + internal extern static OpenTK.Graphics.OpenGL.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlane", ExactSpelling = true)] - internal extern static unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation); + internal extern static unsafe void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3b", ExactSpelling = true)] internal extern static void Color3b(SByte red, SByte green, SByte blue); @@ -553,13 +553,13 @@ namespace OpenTK.Graphics internal extern static unsafe void Color4usv(UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp1ATI", ExactSpelling = true)] - internal extern static void ColorFragmentOp1ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + internal extern static void ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp2ATI", ExactSpelling = true)] - internal extern static void ColorFragmentOp2ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + internal extern static void ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp3ATI", ExactSpelling = true)] - internal extern static void ColorFragmentOp3ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + internal extern static void ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); @@ -571,67 +571,67 @@ namespace OpenTK.Graphics internal extern static void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaterial", ExactSpelling = true)] - internal extern static void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode); + internal extern static void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] - internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerEXT", ExactSpelling = true)] - internal extern static void ColorPointerEXT(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal extern static void ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerListIBM", ExactSpelling = true)] - internal extern static void ColorPointerListIBM(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointervINTEL", ExactSpelling = true)] - internal extern static void ColorPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + internal extern static void ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)] - internal extern static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal extern static void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTableEXT", ExactSpelling = true)] - internal extern static void ColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal extern static void ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)] - internal extern static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal extern static void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableEXT", ExactSpelling = true)] - internal extern static void ColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal extern static void ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params); + internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfvSGI", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single* @params); + internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params); + internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterivSGI", ExactSpelling = true)] - internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32* @params); + internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableSGI", ExactSpelling = true)] - internal extern static void ColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal extern static void ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerInputNV", ExactSpelling = true)] - internal extern static void CombinerInputNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); + internal extern static void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerOutputNV", ExactSpelling = true)] - internal extern static void CombinerOutputNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners abOutput, OpenTK.Graphics.NvRegisterCombiners cdOutput, OpenTK.Graphics.NvRegisterCombiners sumOutput, OpenTK.Graphics.NvRegisterCombiners scale, OpenTK.Graphics.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); + internal extern static void CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfNV", ExactSpelling = true)] - internal extern static void CombinerParameterfNV(OpenTK.Graphics.NvRegisterCombiners pname, Single param); + internal extern static void CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void CombinerParameterfvNV(OpenTK.Graphics.NvRegisterCombiners pname, Single* @params); + internal extern static unsafe void CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameteriNV", ExactSpelling = true)] - internal extern static void CombinerParameteriNV(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param); + internal extern static void CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterivNV", ExactSpelling = true)] - internal extern static unsafe void CombinerParameterivNV(OpenTK.Graphics.NvRegisterCombiners pname, Int32* @params); + internal extern static unsafe void CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerStageParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void CombinerStageParameterfvNV(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params); + internal extern static unsafe void CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] internal extern static void CompileShader(UInt32 shader); @@ -640,202 +640,202 @@ namespace OpenTK.Graphics internal extern static void CompileShaderARB(UInt32 shaderObj); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + internal extern static void CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + internal extern static void CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + internal extern static void CompressedMultiTexImage3DEXT(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, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal extern static void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal extern static void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal extern static void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1D", ExactSpelling = true)] - internal extern static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1DARB", ExactSpelling = true)] - internal extern static void CompressedTexImage1DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] - internal extern static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2DARB", ExactSpelling = true)] - internal extern static void CompressedTexImage2DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] - internal extern static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DARB", ExactSpelling = true)] - internal extern static void CompressedTexImage3DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1DARB", ExactSpelling = true)] - internal extern static void CompressedTexSubImage1DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2DARB", ExactSpelling = true)] - internal extern static void CompressedTexSubImage2DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DARB", ExactSpelling = true)] - internal extern static void CompressedTexSubImage3DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal extern static void CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + internal extern static void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + internal extern static void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + internal extern static void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage1DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal extern static void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage2DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal extern static void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage3DEXT", ExactSpelling = true)] - internal extern static void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal extern static void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)] - internal extern static void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1DEXT", ExactSpelling = true)] - internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] - internal extern static void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2DEXT", ExactSpelling = true)] - internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] - internal extern static void ConvolutionParameterf(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params); + internal extern static void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfEXT", ExactSpelling = true)] - internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params); + internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params); + internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params); + internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] - internal extern static void ConvolutionParameteri(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params); + internal extern static void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriEXT", ExactSpelling = true)] - internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params); + internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params); + internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32* @params); + internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] - internal extern static void CopyBufferSubData(OpenTK.Graphics.BufferTarget readTarget, OpenTK.Graphics.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + internal extern static void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)] - internal extern static void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTableEXT", ExactSpelling = true)] - internal extern static void CopyColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)] - internal extern static void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTableSGI", ExactSpelling = true)] - internal extern static void CopyColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1DEXT", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2DEXT", ExactSpelling = true)] - internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage1DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal extern static void CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage2DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal extern static void CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal extern static void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyPixels", ExactSpelling = true)] - internal extern static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type); + internal extern static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1D", ExactSpelling = true)] - internal extern static void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal extern static void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTexImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal extern static void CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] - internal extern static void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal extern static void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTexImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal extern static void CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1D", ExactSpelling = true)] - internal extern static void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal extern static void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTexSubImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal extern static void CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] - internal extern static void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTexSubImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] - internal extern static void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void CopyTexSubImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal extern static void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal extern static void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage1DEXT", ExactSpelling = true)] - internal extern static void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal extern static void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage2DEXT", ExactSpelling = true)] - internal extern static void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage3DEXT", ExactSpelling = true)] - internal extern static void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal extern static void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] internal extern static Int32 CreateProgram(); @@ -844,28 +844,28 @@ namespace OpenTK.Graphics internal extern static Int32 CreateProgramObjectARB(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] - internal extern static Int32 CreateShader(OpenTK.Graphics.ShaderType type); + internal extern static Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderObjectARB", ExactSpelling = true)] - internal extern static Int32 CreateShaderObjectARB(OpenTK.Graphics.ArbShaderObjects shaderType); + internal extern static Int32 CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] - internal extern static void CullFace(OpenTK.Graphics.CullFaceMode mode); + internal extern static void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterdvEXT", ExactSpelling = true)] - internal extern static unsafe void CullParameterdvEXT(OpenTK.Graphics.ExtCullVertex pname, [Out] Double* @params); + internal extern static unsafe void CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void CullParameterfvEXT(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params); + internal extern static unsafe void CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixARB", ExactSpelling = true)] internal extern static void CurrentPaletteMatrixARB(Int32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3dSGIX", ExactSpelling = true)] - internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3fSGIX", ExactSpelling = true)] - internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformSGIX", ExactSpelling = true)] internal extern static void DeformSGIX(UInt32 mask); @@ -958,7 +958,7 @@ namespace OpenTK.Graphics internal extern static void DepthBoundsEXT(Double zmin, Double zmax); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] - internal extern static void DepthFunc(OpenTK.Graphics.DepthFunction func); + internal extern static void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] internal extern static void DepthMask(bool flag); @@ -976,28 +976,28 @@ namespace OpenTK.Graphics internal extern static void DetachShader(UInt32 program, UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetailTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void DetailTexFuncSGIS(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points); + internal extern static unsafe void DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] - internal extern static void Disable(OpenTK.Graphics.EnableCap cap); + internal extern static void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] - internal extern static void DisableClientState(OpenTK.Graphics.EnableCap array); + internal extern static void DisableClientState(OpenTK.Graphics.OpenGL.EnableCap array); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientStateIndexedEXT", ExactSpelling = true)] - internal extern static void DisableClientStateIndexedEXT(OpenTK.Graphics.EnableCap array, UInt32 index); + internal extern static void DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisablei", ExactSpelling = true)] - internal extern static void Disablei(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); + internal extern static void Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableIndexedEXT", ExactSpelling = true)] - internal extern static void DisableIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + internal extern static void DisableIndexedEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVariantClientStateEXT", ExactSpelling = true)] internal extern static void DisableVariantClientStateEXT(UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribAPPLE", ExactSpelling = true)] - internal extern static void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal extern static void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] internal extern static void DisableVertexAttribArray(UInt32 index); @@ -1006,79 +1006,79 @@ namespace OpenTK.Graphics internal extern static void DisableVertexAttribArrayARB(UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] - internal extern static void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + internal extern static void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysEXT", ExactSpelling = true)] - internal extern static void DrawArraysEXT(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + internal extern static void DrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] - internal extern static void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + internal extern static void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedARB", ExactSpelling = true)] - internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] - internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount); + internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffer", ExactSpelling = true)] - internal extern static void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode); + internal extern static void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] - internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs); + internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersARB", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersARB(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs); + internal extern static unsafe void DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersATI", ExactSpelling = true)] - internal extern static unsafe void DrawBuffersATI(Int32 n, OpenTK.Graphics.AtiDrawBuffers* bufs); + internal extern static unsafe void DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayAPPLE", ExactSpelling = true)] - internal extern static void DrawElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + internal extern static void DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayATI", ExactSpelling = true)] - internal extern static void DrawElementArrayATI(OpenTK.Graphics.BeginMode mode, Int32 count); + internal extern static void DrawElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] - internal extern static void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + internal extern static void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] - internal extern static void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal extern static void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedARB", ExactSpelling = true)] - internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); + internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] - internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawMeshArraysSUN", ExactSpelling = true)] - internal extern static void DrawMeshArraysSUN(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width); + internal extern static void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawPixels", ExactSpelling = true)] - internal extern static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayAPPLE", ExactSpelling = true)] - internal extern static void DrawRangeElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); + internal extern static void DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayATI", ExactSpelling = true)] - internal extern static void DrawRangeElementArrayATI(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count); + internal extern static void DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] - internal extern static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)] - internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackNV", ExactSpelling = true)] - internal extern static void DrawTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id); + internal extern static void DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlag", ExactSpelling = true)] internal extern static void EdgeFlag(bool flag); @@ -1096,31 +1096,31 @@ namespace OpenTK.Graphics internal extern static unsafe void EdgeFlagv(bool* flag); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerAPPLE", ExactSpelling = true)] - internal extern static void ElementPointerAPPLE(OpenTK.Graphics.AppleElementArray type, IntPtr pointer); + internal extern static void ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerATI", ExactSpelling = true)] - internal extern static void ElementPointerATI(OpenTK.Graphics.AtiElementArray type, IntPtr pointer); + internal extern static void ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] - internal extern static void Enable(OpenTK.Graphics.EnableCap cap); + internal extern static void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] - internal extern static void EnableClientState(OpenTK.Graphics.EnableCap array); + internal extern static void EnableClientState(OpenTK.Graphics.OpenGL.EnableCap array); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientStateIndexedEXT", ExactSpelling = true)] - internal extern static void EnableClientStateIndexedEXT(OpenTK.Graphics.EnableCap array, UInt32 index); + internal extern static void EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnablei", ExactSpelling = true)] - internal extern static void Enablei(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); + internal extern static void Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableIndexedEXT", ExactSpelling = true)] - internal extern static void EnableIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + internal extern static void EnableIndexedEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVariantClientStateEXT", ExactSpelling = true)] internal extern static void EnableVariantClientStateEXT(UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribAPPLE", ExactSpelling = true)] - internal extern static void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal extern static void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] internal extern static void EnableVertexAttribArray(UInt32 index); @@ -1150,10 +1150,10 @@ namespace OpenTK.Graphics internal extern static void EndPerfMonitorAMD(UInt32 monitor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] - internal extern static void EndQuery(OpenTK.Graphics.QueryTarget target); + internal extern static void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryARB", ExactSpelling = true)] - internal extern static void EndQueryARB(OpenTK.Graphics.ArbOcclusionQuery target); + internal extern static void EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] internal extern static void EndTransformFeedback(); @@ -1192,13 +1192,13 @@ namespace OpenTK.Graphics internal extern static unsafe void EvalCoord2fv(Single* u); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMapsNV", ExactSpelling = true)] - internal extern static void EvalMapsNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators mode); + internal extern static void EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh1", ExactSpelling = true)] - internal extern static void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2); + internal extern static void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh2", ExactSpelling = true)] - internal extern static void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); + internal extern static void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalPoint1", ExactSpelling = true)] internal extern static void EvalPoint1(Int32 i); @@ -1207,19 +1207,19 @@ namespace OpenTK.Graphics internal extern static void EvalPoint2(Int32 i, Int32 j); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExecuteProgramNV", ExactSpelling = true)] - internal extern static unsafe void ExecuteProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params); + internal extern static unsafe void ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtractComponentEXT", ExactSpelling = true)] internal extern static void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBuffer", ExactSpelling = true)] - internal extern static unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer); + internal extern static unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [Out] Single* buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] - internal extern static IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags); + internal extern static IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinalCombinerInputNV", ExactSpelling = true)] - internal extern static void FinalCombinerInputNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); + internal extern static void FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] internal extern static void Finish(); @@ -1234,7 +1234,7 @@ namespace OpenTK.Graphics internal extern static void FinishFenceNV(UInt32 fence); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishObjectAPPLE", ExactSpelling = true)] - internal extern static void FinishObjectAPPLE(OpenTK.Graphics.AppleFence @object, Int32 name); + internal extern static void FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishTextureSUNX", ExactSpelling = true)] internal extern static void FinishTextureSUNX(); @@ -1243,13 +1243,13 @@ namespace OpenTK.Graphics internal extern static void Flush(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] - internal extern static void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length); + internal extern static void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeAPPLE", ExactSpelling = true)] - internal extern static void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size); + internal extern static void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushPixelDataRangeNV", ExactSpelling = true)] - internal extern static void FlushPixelDataRangeNV(OpenTK.Graphics.NvPixelDataRange target); + internal extern static void FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushRasterSGIX", ExactSpelling = true)] internal extern static void FlushRasterSGIX(); @@ -1291,127 +1291,127 @@ namespace OpenTK.Graphics internal extern static unsafe void FogCoordhvNV(OpenTK.Half* fog); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointer", ExactSpelling = true)] - internal extern static void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer); + internal extern static void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerEXT", ExactSpelling = true)] - internal extern static void FogCoordPointerEXT(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer); + internal extern static void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerListIBM", ExactSpelling = true)] - internal extern static void FogCoordPointerListIBM(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] - internal extern static void Fogf(OpenTK.Graphics.FogParameter pname, Single param); + internal extern static void Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogFuncSGIS", ExactSpelling = true)] internal extern static unsafe void FogFuncSGIS(Int32 n, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] - internal extern static unsafe void Fogfv(OpenTK.Graphics.FogParameter pname, Single* @params); + internal extern static unsafe void Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogi", ExactSpelling = true)] - internal extern static void Fogi(OpenTK.Graphics.FogParameter pname, Int32 param); + internal extern static void Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogiv", ExactSpelling = true)] - internal extern static unsafe void Fogiv(OpenTK.Graphics.FogParameter pname, Int32* @params); + internal extern static unsafe void Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentColorMaterialSGIX", ExactSpelling = true)] - internal extern static void FragmentColorMaterialSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode); + internal extern static void FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfSGIX", ExactSpelling = true)] - internal extern static void FragmentLightfSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single param); + internal extern static void FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightfvSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single* @params); + internal extern static unsafe void FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightiSGIX", ExactSpelling = true)] - internal extern static void FragmentLightiSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + internal extern static void FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightivSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params); + internal extern static unsafe void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfSGIX", ExactSpelling = true)] - internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Single param); + internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Single* @params); + internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModeliSGIX", ExactSpelling = true)] - internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params); + internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfSGIX", ExactSpelling = true)] - internal extern static void FragmentMaterialfSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); + internal extern static void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfvSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentMaterialfvSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params); + internal extern static unsafe void FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialiSGIX", ExactSpelling = true)] - internal extern static void FragmentMaterialiSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param); + internal extern static void FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialivSGIX", ExactSpelling = true)] - internal extern static unsafe void FragmentMaterialivSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params); + internal extern static unsafe void FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBufferEXT", ExactSpelling = true)] - internal extern static void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.DrawBufferMode mode); + internal extern static void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBuffersEXT", ExactSpelling = true)] - internal extern static unsafe void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs); + internal extern static unsafe void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferReadBufferEXT", ExactSpelling = true)] - internal extern static void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.ReadBufferMode mode); + internal extern static void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] - internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferEXT", ExactSpelling = true)] - internal extern static void FramebufferRenderbufferEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal extern static void FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture", ExactSpelling = true)] - internal extern static void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level); + internal extern static void FramebufferTexture(OpenTK.Graphics.OpenGL.Version32 target, OpenTK.Graphics.OpenGL.Version32 attachment, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1D", ExactSpelling = true)] - internal extern static void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal extern static void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1DEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture1DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal extern static void FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] - internal extern static void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal extern static void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture2DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal extern static void FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3D", ExactSpelling = true)] - internal extern static void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal extern static void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DEXT", ExactSpelling = true)] - internal extern static void FramebufferTexture3DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal extern static void FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureARB", ExactSpelling = true)] - internal extern static void FramebufferTextureARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal extern static void FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureEXT", ExactSpelling = true)] - internal extern static void FramebufferTextureEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal extern static void FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFace", ExactSpelling = true)] - internal extern static void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face); + internal extern static void FramebufferTextureFace(OpenTK.Graphics.OpenGL.Version32 target, OpenTK.Graphics.OpenGL.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.Version32 face); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceARB", ExactSpelling = true)] - internal extern static void FramebufferTextureFaceARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + internal extern static void FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceEXT", ExactSpelling = true)] - internal extern static void FramebufferTextureFaceEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + internal extern static void FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] - internal extern static void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal extern static void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerARB", ExactSpelling = true)] - internal extern static void FramebufferTextureLayerARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal extern static void FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerEXT", ExactSpelling = true)] - internal extern static void FramebufferTextureLayerEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal extern static void FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameTerminatorGREMEDY", ExactSpelling = true)] internal extern static void FrameTerminatorGREMEDY(); @@ -1423,7 +1423,7 @@ namespace OpenTK.Graphics internal extern static void FreeObjectBufferATI(UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] - internal extern static void FrontFace(OpenTK.Graphics.FrontFaceDirection mode); + internal extern static void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustum", ExactSpelling = true)] internal extern static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); @@ -1438,16 +1438,16 @@ namespace OpenTK.Graphics internal extern static unsafe void GenBuffersARB(Int32 n, [Out] UInt32* buffers); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] - internal extern static void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target); + internal extern static void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapEXT", ExactSpelling = true)] - internal extern static void GenerateMipmapEXT(OpenTK.Graphics.GenerateMipmapTarget target); + internal extern static void GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMultiTexMipmapEXT", ExactSpelling = true)] - internal extern static void GenerateMultiTexMipmapEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target); + internal extern static void GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateTextureMipmapEXT", ExactSpelling = true)] - internal extern static void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target); + internal extern static void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesAPPLE", ExactSpelling = true)] internal extern static unsafe void GenFencesAPPLE(Int32 n, [Out] UInt32* fences); @@ -1492,7 +1492,7 @@ namespace OpenTK.Graphics internal extern static unsafe void GenRenderbuffersEXT(Int32 n, [Out] UInt32* renderbuffers); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSymbolsEXT", ExactSpelling = true)] - internal extern static Int32 GenSymbolsEXT(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components); + internal extern static Int32 GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] internal extern static unsafe void GenTextures(Int32 n, [Out] UInt32* textures); @@ -1513,19 +1513,19 @@ namespace OpenTK.Graphics internal extern static Int32 GenVertexShadersEXT(UInt32 range); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttribARB", ExactSpelling = true)] - internal extern static unsafe void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformARB", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params); + internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ArbUniformBufferObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockName", ExactSpelling = true)] internal extern static unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName); @@ -1534,16 +1534,16 @@ namespace OpenTK.Graphics internal extern static unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params); + internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ArbUniformBufferObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveVaryingNV", ExactSpelling = true)] - internal extern static unsafe void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectfvATI", ExactSpelling = true)] - internal extern static unsafe void GetArrayObjectfvATI(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + internal extern static unsafe void GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectivATI", ExactSpelling = true)] - internal extern static unsafe void GetArrayObjectivATI(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + internal extern static unsafe void GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedObjectsARB", ExactSpelling = true)] internal extern static unsafe void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); @@ -1558,136 +1558,136 @@ namespace OpenTK.Graphics internal extern static Int32 GetAttribLocationARB(UInt32 programObj, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleani_v", ExactSpelling = true)] - internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data); + internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [Out] bool* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetBooleanIndexedvEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data); + internal extern static unsafe void GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] - internal extern static unsafe void GetBooleanv(OpenTK.Graphics.GetPName pname, [Out] bool* @params); + internal extern static unsafe void GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [Out] bool* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params); + internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.OpenGL.Version32 target, OpenTK.Graphics.OpenGL.Version32 pname, [Out] Int64* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterivARB", ExactSpelling = true)] - internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params); + internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] - internal extern static void GetBufferPointerv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params); + internal extern static void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervARB", ExactSpelling = true)] - internal extern static void GetBufferPointervARB(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params); + internal extern static void GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)] - internal extern static void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data); + internal extern static void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubDataARB", ExactSpelling = true)] - internal extern static void GetBufferSubDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data); + internal extern static void GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlane", ExactSpelling = true)] - internal extern static unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation); + internal extern static unsafe void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [Out] Double* equation); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)] - internal extern static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + internal extern static void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableEXT", ExactSpelling = true)] - internal extern static void GetColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data); + internal extern static void GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); + internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfvEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); + internal extern static unsafe void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvSGI", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single* @params); + internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); + internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterivEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); + internal extern static unsafe void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivSGI", ExactSpelling = true)] - internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32* @params); + internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableSGI", ExactSpelling = true)] - internal extern static void GetColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + internal extern static void GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerInputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + internal extern static unsafe void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerInputParameterivNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + internal extern static unsafe void GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerOutputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + internal extern static unsafe void GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerOutputParameterivNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + internal extern static unsafe void GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerStageParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetCombinerStageParameterfvNV(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params); + internal extern static unsafe void GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedMultiTexImageEXT", ExactSpelling = true)] - internal extern static void GetCompressedMultiTexImageEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img); + internal extern static void GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [Out] IntPtr img); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImage", ExactSpelling = true)] - internal extern static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img); + internal extern static void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [Out] IntPtr img); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImageARB", ExactSpelling = true)] - internal extern static void GetCompressedTexImageARB(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img); + internal extern static void GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [Out] IntPtr img); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTextureImageEXT", ExactSpelling = true)] - internal extern static void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img); + internal extern static void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [Out] IntPtr img); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)] - internal extern static void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + internal extern static void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilterEXT", ExactSpelling = true)] - internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); + internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single* @params); + internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); + internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32* @params); + internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDetailTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetDetailTexFuncSGIS(OpenTK.Graphics.TextureTarget target, [Out] Single* points); + internal extern static unsafe void GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [Out] Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoubleIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetDoubleIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* data); + internal extern static unsafe void GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Double* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublev", ExactSpelling = true)] - internal extern static unsafe void GetDoublev(OpenTK.Graphics.GetPName pname, [Out] Double* @params); + internal extern static unsafe void GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] - internal extern static OpenTK.Graphics.ErrorCode GetError(); + internal extern static OpenTK.Graphics.OpenGL.ErrorCode GetError(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] - internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params); + internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + internal extern static unsafe void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + internal extern static unsafe void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetFloatIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* data); + internal extern static unsafe void GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Single* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] - internal extern static unsafe void GetFloatv(OpenTK.Graphics.GetPName pname, [Out] Single* @params); + internal extern static unsafe void GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFogFuncSGIS", ExactSpelling = true)] internal extern static unsafe void GetFogFuncSGIS([Out] Single* points); @@ -1699,52 +1699,52 @@ namespace OpenTK.Graphics internal extern static Int32 GetFragDataLocationEXT(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightfvSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentLightfvSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single* @params); + internal extern static unsafe void GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightivSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentLightivSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params); + internal extern static unsafe void GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialfvSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentMaterialfvSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params); + internal extern static unsafe void GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialivSGIX", ExactSpelling = true)] - internal extern static unsafe void GetFragmentMaterialivSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal extern static unsafe void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHandleARB", ExactSpelling = true)] - internal extern static Int32 GetHandleARB(OpenTK.Graphics.ArbShaderObjects pname); + internal extern static Int32 GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogram", ExactSpelling = true)] - internal extern static void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal extern static void GetHistogram(OpenTK.Graphics.OpenGL.Version12Deprecated target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramEXT", ExactSpelling = true)] - internal extern static void GetHistogramEXT(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal extern static void GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); + internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params); + internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); + internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); + internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterfvHP", ExactSpelling = true)] - internal extern static unsafe void GetImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params); + internal extern static unsafe void GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterivHP", ExactSpelling = true)] - internal extern static unsafe void GetImageTransformParameterivHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32* @params); + internal extern static unsafe void GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInfoLogARB", ExactSpelling = true)] internal extern static unsafe void GetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); @@ -1753,199 +1753,199 @@ namespace OpenTK.Graphics internal extern static Int32 GetInstrumentsSGIX(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data); + internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [Out] Int64* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] - internal extern static unsafe void GetInteger64v(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params); + internal extern static unsafe void GetInteger64v(OpenTK.Graphics.OpenGL.ArbSync pname, [Out] Int64* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] - internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data); + internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [Out] Int32* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerIndexedvEXT", ExactSpelling = true)] - internal extern static unsafe void GetIntegerIndexedvEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data); + internal extern static unsafe void GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] - internal extern static unsafe void GetIntegerv(OpenTK.Graphics.GetPName pname, [Out] Int32* @params); + internal extern static unsafe void GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantBooleanvEXT", ExactSpelling = true)] - internal extern static unsafe void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + internal extern static unsafe void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] bool* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantFloatvEXT", ExactSpelling = true)] - internal extern static unsafe void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + internal extern static unsafe void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Single* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + internal extern static unsafe void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Int32* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)] - internal extern static unsafe void GetLightfv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params); + internal extern static unsafe void GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightiv", ExactSpelling = true)] - internal extern static unsafe void GetLightiv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterfvSGIX", ExactSpelling = true)] - internal extern static unsafe void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params); + internal extern static unsafe void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterivSGIX", ExactSpelling = true)] - internal extern static unsafe void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantBooleanvEXT", ExactSpelling = true)] - internal extern static unsafe void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + internal extern static unsafe void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] bool* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantFloatvEXT", ExactSpelling = true)] - internal extern static unsafe void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + internal extern static unsafe void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Single* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + internal extern static unsafe void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Int32* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetMapAttribParameterfvNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params); + internal extern static unsafe void GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetMapAttribParameterivNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params); + internal extern static unsafe void GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapControlPointsNV", ExactSpelling = true)] - internal extern static void GetMapControlPointsNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points); + internal extern static void GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapdv", ExactSpelling = true)] - internal extern static unsafe void GetMapdv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v); + internal extern static unsafe void GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [Out] Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapfv", ExactSpelling = true)] - internal extern static unsafe void GetMapfv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single* v); + internal extern static unsafe void GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [Out] Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapiv", ExactSpelling = true)] - internal extern static unsafe void GetMapiv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v); + internal extern static unsafe void GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [Out] Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetMapParameterfvNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params); + internal extern static unsafe void GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterivNV", ExactSpelling = true)] - internal extern static unsafe void GetMapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params); + internal extern static unsafe void GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)] - internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params); + internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialiv", ExactSpelling = true)] - internal extern static unsafe void GetMaterialiv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmax", ExactSpelling = true)] - internal extern static void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal extern static void GetMinmax(OpenTK.Graphics.OpenGL.Version12Deprecated target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxEXT", ExactSpelling = true)] - internal extern static void GetMinmaxEXT(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal extern static void GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); + internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params); + internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); + internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); + internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] - internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val); + internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.OpenGL.ArbTextureMultisample pname, UInt32 index, [Out] Single* val); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefvNV", ExactSpelling = true)] - internal extern static unsafe void GetMultisamplefvNV(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val); + internal extern static unsafe void GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [Out] Single* val); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexEnvfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params); + internal extern static unsafe void GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexEnvivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGendvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexGendvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params); + internal extern static unsafe void GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexGenfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params); + internal extern static unsafe void GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexGenivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexImageEXT", ExactSpelling = true)] - internal extern static void GetMultiTexImageEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal extern static void GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal extern static unsafe void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal extern static unsafe void GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterIivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterIuivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal extern static unsafe void GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetMultiTexParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal extern static unsafe void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferPointervEXT", ExactSpelling = true)] - internal extern static void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params); + internal extern static void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferSubDataEXT", ExactSpelling = true)] internal extern static void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal extern static unsafe void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterdvEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params); + internal extern static unsafe void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params); + internal extern static unsafe void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params); + internal extern static unsafe void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params); + internal extern static unsafe void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramStringEXT", ExactSpelling = true)] - internal extern static void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string); + internal extern static void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] IntPtr @string); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedRenderbufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferfvATI", ExactSpelling = true)] - internal extern static unsafe void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + internal extern static unsafe void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferivATI", ExactSpelling = true)] - internal extern static unsafe void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + internal extern static unsafe void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params); + internal extern static unsafe void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivAPPLE", ExactSpelling = true)] - internal extern static unsafe void GetObjectParameterivAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params); + internal extern static unsafe void GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivARB", ExactSpelling = true)] - internal extern static unsafe void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params); + internal extern static unsafe void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryivNV", ExactSpelling = true)] - internal extern static unsafe void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params); + internal extern static unsafe void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryuivNV", ExactSpelling = true)] - internal extern static unsafe void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32* @params); + internal extern static unsafe void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] - internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten); + internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)] - internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data); + internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)] internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters); @@ -1960,67 +1960,67 @@ namespace OpenTK.Graphics internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapfv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapfv(OpenTK.Graphics.PixelMap map, [Out] Single* values); + internal extern static unsafe void GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [Out] Single* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapuiv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapuiv(OpenTK.Graphics.PixelMap map, [Out] UInt32* values); + internal extern static unsafe void GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [Out] UInt32* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapusv", ExactSpelling = true)] - internal extern static unsafe void GetPixelMapusv(OpenTK.Graphics.PixelMap map, [Out] UInt16* values); + internal extern static unsafe void GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [Out] UInt16* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single* @params); + internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterivSGIS", ExactSpelling = true)] - internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32* @params); + internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerIndexedvEXT", ExactSpelling = true)] - internal extern static void GetPointerIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data); + internal extern static void GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] - internal extern static void GetPointerv(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params); + internal extern static void GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervEXT", ExactSpelling = true)] - internal extern static void GetPointervEXT(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params); + internal extern static void GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPolygonStipple", ExactSpelling = true)] internal extern static unsafe void GetPolygonStipple([Out] Byte* mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterdvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterdvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params); + internal extern static unsafe void GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterfvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params); + internal extern static unsafe void GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterIivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); + internal extern static unsafe void GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIuivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramEnvParameterIuivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); + internal extern static unsafe void GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramivARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params); + internal extern static unsafe void GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramivNV(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params); + internal extern static unsafe void GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterdvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterdvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params); + internal extern static unsafe void GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterfvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params); + internal extern static unsafe void GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterIivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); + internal extern static unsafe void GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIuivNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramLocalParameterIuivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); + internal extern static unsafe void GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterdvNV", ExactSpelling = true)] internal extern static unsafe void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [Out] Double* @params); @@ -2029,58 +2029,58 @@ namespace OpenTK.Graphics internal extern static unsafe void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterdvNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramParameterdvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params); + internal extern static unsafe void GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramParameterfvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params); + internal extern static unsafe void GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringARB", ExactSpelling = true)] - internal extern static void GetProgramStringARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string); + internal extern static void GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] IntPtr @string); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringNV", ExactSpelling = true)] - internal extern static unsafe void GetProgramStringNV(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program); + internal extern static unsafe void GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Byte* program); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryiv(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params); + internal extern static unsafe void GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivARB", ExactSpelling = true)] - internal extern static unsafe void GetQueryivARB(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params); + internal extern static unsafe void GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params); + internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [Out] Int64* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params); + internal extern static unsafe void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivARB", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params); + internal extern static unsafe void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64* @params); + internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [Out] UInt64* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params); + internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivARB", ExactSpelling = true)] - internal extern static unsafe void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32* @params); + internal extern static unsafe void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetRenderbufferParameterivEXT(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + internal extern static unsafe void GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)] - internal extern static void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); + internal extern static void GetSeparableFilter(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilterEXT", ExactSpelling = true)] - internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); + internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] - internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source); @@ -2089,100 +2089,100 @@ namespace OpenTK.Graphics internal extern static unsafe void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSharpenTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetSharpenTexFuncSGIS(OpenTK.Graphics.TextureTarget target, [Out] Single* points); + internal extern static unsafe void GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [Out] Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.StringName name); + internal extern static IntPtr GetString(OpenTK.Graphics.OpenGL.StringName name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] - internal extern static IntPtr GetStringi(OpenTK.Graphics.StringName name, UInt32 index); + internal extern static IntPtr GetStringi(OpenTK.Graphics.OpenGL.StringName name, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] - internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values); + internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterfvATI", ExactSpelling = true)] - internal extern static unsafe void GetTexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param); + internal extern static unsafe void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [Out] Single* param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterivATI", ExactSpelling = true)] - internal extern static unsafe void GetTexBumpParameterivATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32* param); + internal extern static unsafe void GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [Out] Int32* param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params); + internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)] - internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexFilterFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void GetTexFilterFuncSGIS(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single* weights); + internal extern static unsafe void GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [Out] Single* weights); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGendv", ExactSpelling = true)] - internal extern static unsafe void GetTexGendv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params); + internal extern static unsafe void GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenfv", ExactSpelling = true)] - internal extern static unsafe void GetTexGenfv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params); + internal extern static unsafe void GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGeniv", ExactSpelling = true)] - internal extern static unsafe void GetTexGeniv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexImage", ExactSpelling = true)] - internal extern static void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal extern static void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameterfv(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal extern static unsafe void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexLevelParameteriv(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIiv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIuiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal extern static unsafe void GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTexParameterIuivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal extern static unsafe void GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterPointervAPPLE", ExactSpelling = true)] - internal extern static void GetTexParameterPointervAPPLE(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params); + internal extern static void GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureImageEXT", ExactSpelling = true)] - internal extern static void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal extern static void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal extern static unsafe void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal extern static unsafe void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal extern static unsafe void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTrackMatrixivNV", ExactSpelling = true)] - internal extern static unsafe void GetTrackMatrixivNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params); + internal extern static unsafe void GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingEXT", ExactSpelling = true)] - internal extern static unsafe void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name); + internal extern static unsafe void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingNV", ExactSpelling = true)] internal extern static unsafe void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] Int32* location); @@ -2224,91 +2224,91 @@ namespace OpenTK.Graphics internal extern static unsafe void GetUniformuivEXT(UInt32 program, Int32 location, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectfvATI", ExactSpelling = true)] - internal extern static unsafe void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + internal extern static unsafe void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectivATI", ExactSpelling = true)] - internal extern static unsafe void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + internal extern static unsafe void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantBooleanvEXT", ExactSpelling = true)] - internal extern static unsafe void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + internal extern static unsafe void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] bool* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantFloatvEXT", ExactSpelling = true)] - internal extern static unsafe void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + internal extern static unsafe void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Single* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantIntegervEXT", ExactSpelling = true)] - internal extern static unsafe void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + internal extern static unsafe void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Int32* data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantPointervEXT", ExactSpelling = true)] - internal extern static void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data); + internal extern static void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVaryingLocationNV", ExactSpelling = true)] internal extern static Int32 GetVaryingLocationNV(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectfvATI", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params); + internal extern static unsafe void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectivATI", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params); + internal extern static unsafe void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params); + internal extern static unsafe void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params); + internal extern static unsafe void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params); + internal extern static unsafe void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params); + internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params); + internal extern static unsafe void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params); + internal extern static unsafe void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIivEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params); + internal extern static unsafe void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] UInt32* @params); + internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuivEXT", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] UInt32* @params); + internal extern static unsafe void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params); + internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivARB", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params); + internal extern static unsafe void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivNV", ExactSpelling = true)] - internal extern static unsafe void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params); + internal extern static unsafe void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] - internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer); + internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerType pname, [Out] IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervARB", ExactSpelling = true)] - internal extern static void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer); + internal extern static void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervNV", ExactSpelling = true)] - internal extern static void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer); + internal extern static void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoi64vNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params); + internal extern static unsafe void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] Int64* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoivNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params); + internal extern static unsafe void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoui64vNV", ExactSpelling = true)] - internal extern static unsafe void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params); + internal extern static unsafe void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] UInt64* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideouivNV", ExactSpelling = true)] - internal extern static unsafe void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params); + internal extern static unsafe void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorbSUN", ExactSpelling = true)] internal extern static void GlobalAlphaFactorbSUN(SByte factor); @@ -2335,31 +2335,31 @@ namespace OpenTK.Graphics internal extern static void GlobalAlphaFactorusSUN(UInt16 factor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] - internal extern static void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode); + internal extern static void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHintPGI", ExactSpelling = true)] - internal extern static void HintPGI(OpenTK.Graphics.PgiMiscHints target, Int32 mode); + internal extern static void HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogram", ExactSpelling = true)] - internal extern static void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal extern static void Histogram(OpenTK.Graphics.OpenGL.Version12Deprecated target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogramEXT", ExactSpelling = true)] - internal extern static void HistogramEXT(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal extern static void HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIglooInterfaceSGIX", ExactSpelling = true)] - internal extern static void IglooInterfaceSGIX(OpenTK.Graphics.All pname, IntPtr @params); + internal extern static void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.All pname, IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfHP", ExactSpelling = true)] - internal extern static void ImageTransformParameterfHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single param); + internal extern static void ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfvHP", ExactSpelling = true)] - internal extern static unsafe void ImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single* @params); + internal extern static unsafe void ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameteriHP", ExactSpelling = true)] - internal extern static void ImageTransformParameteriHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32 param); + internal extern static void ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterivHP", ExactSpelling = true)] - internal extern static unsafe void ImageTransformParameterivHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params); + internal extern static unsafe void ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexd", ExactSpelling = true)] internal extern static void Indexd(Double c); @@ -2371,7 +2371,7 @@ namespace OpenTK.Graphics internal extern static void Indexf(Single c); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexFuncEXT", ExactSpelling = true)] - internal extern static void IndexFuncEXT(OpenTK.Graphics.ExtIndexFunc func, Single @ref); + internal extern static void IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexfv", ExactSpelling = true)] internal extern static unsafe void Indexfv(Single* c); @@ -2386,16 +2386,16 @@ namespace OpenTK.Graphics internal extern static void IndexMask(UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMaterialEXT", ExactSpelling = true)] - internal extern static void IndexMaterialEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ExtIndexMaterial mode); + internal extern static void IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointer", ExactSpelling = true)] - internal extern static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer); + internal extern static void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerEXT", ExactSpelling = true)] - internal extern static void IndexPointerEXT(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal extern static void IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerListIBM", ExactSpelling = true)] - internal extern static void IndexPointerListIBM(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexs", ExactSpelling = true)] internal extern static void Indexs(Int16 c); @@ -2419,7 +2419,7 @@ namespace OpenTK.Graphics internal extern static unsafe void InstrumentsBufferSGIX(Int32 size, [Out] Int32* buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInterleavedArrays", ExactSpelling = true)] - internal extern static void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); + internal extern static void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsAsyncMarkerSGIX", ExactSpelling = true)] internal extern static bool IsAsyncMarkerSGIX(UInt32 marker); @@ -2431,13 +2431,13 @@ namespace OpenTK.Graphics internal extern static bool IsBufferARB(UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] - internal extern static bool IsEnabled(OpenTK.Graphics.EnableCap cap); + internal extern static bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledi", ExactSpelling = true)] - internal extern static bool IsEnabledi(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); + internal extern static bool IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledIndexedEXT", ExactSpelling = true)] - internal extern static bool IsEnabledIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + internal extern static bool IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceAPPLE", ExactSpelling = true)] internal extern static bool IsFenceAPPLE(UInt32 fence); @@ -2497,7 +2497,7 @@ namespace OpenTK.Graphics internal extern static bool IsTransformFeedbackNV(UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVariantEnabledEXT", ExactSpelling = true)] - internal extern static bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader cap); + internal extern static bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] internal extern static bool IsVertexArray(UInt32 array); @@ -2506,34 +2506,34 @@ namespace OpenTK.Graphics internal extern static bool IsVertexArrayAPPLE(UInt32 array); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexAttribEnabledAPPLE", ExactSpelling = true)] - internal extern static bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal extern static bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightEnviSGIX", ExactSpelling = true)] - internal extern static void LightEnviSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + internal extern static void LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] - internal extern static void Lightf(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param); + internal extern static void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)] - internal extern static unsafe void Lightfv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single* @params); + internal extern static unsafe void Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLighti", ExactSpelling = true)] - internal extern static void Lighti(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param); + internal extern static void Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightiv", ExactSpelling = true)] - internal extern static unsafe void Lightiv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params); + internal extern static unsafe void Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)] - internal extern static void LightModelf(OpenTK.Graphics.LightModelParameter pname, Single param); + internal extern static void LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)] - internal extern static unsafe void LightModelfv(OpenTK.Graphics.LightModelParameter pname, Single* @params); + internal extern static unsafe void LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModeli", ExactSpelling = true)] - internal extern static void LightModeli(OpenTK.Graphics.LightModelParameter pname, Int32 param); + internal extern static void LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModeliv", ExactSpelling = true)] - internal extern static unsafe void LightModeliv(OpenTK.Graphics.LightModelParameter pname, Int32* @params); + internal extern static unsafe void LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineStipple", ExactSpelling = true)] internal extern static void LineStipple(Int32 factor, UInt16 pattern); @@ -2551,16 +2551,16 @@ namespace OpenTK.Graphics internal extern static void ListBase(UInt32 @base); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfSGIX", ExactSpelling = true)] - internal extern static void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param); + internal extern static void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfvSGIX", ExactSpelling = true)] - internal extern static unsafe void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params); + internal extern static unsafe void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameteriSGIX", ExactSpelling = true)] - internal extern static void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param); + internal extern static void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterivSGIX", ExactSpelling = true)] - internal extern static unsafe void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params); + internal extern static unsafe void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] internal extern static void LoadIdentity(); @@ -2578,7 +2578,7 @@ namespace OpenTK.Graphics internal extern static void LoadName(UInt32 name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadProgramNV", ExactSpelling = true)] - internal extern static unsafe void LoadProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); + internal extern static unsafe void LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixd", ExactSpelling = true)] internal extern static unsafe void LoadTransposeMatrixd(Double* m); @@ -2596,31 +2596,31 @@ namespace OpenTK.Graphics internal extern static void LockArraysEXT(Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] - internal extern static void LogicOp(OpenTK.Graphics.LogicOp opcode); + internal extern static void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1d", ExactSpelling = true)] - internal extern static unsafe void Map1d(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + internal extern static unsafe void Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1f", ExactSpelling = true)] - internal extern static unsafe void Map1f(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + internal extern static unsafe void Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2d", ExactSpelling = true)] - internal extern static unsafe void Map2d(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + internal extern static unsafe void Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2f", ExactSpelling = true)] - internal extern static unsafe void Map2f(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + internal extern static unsafe void Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBuffer", ExactSpelling = true)] - internal extern static unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access); + internal extern static unsafe IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferARB", ExactSpelling = true)] - internal extern static unsafe IntPtr MapBufferARB(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.ArbVertexBufferObject access); + internal extern static unsafe IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] - internal extern static unsafe IntPtr MapBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.BufferAccessMask access); + internal extern static unsafe IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapControlPointsNV", ExactSpelling = true)] - internal extern static void MapControlPointsNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); + internal extern static void MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1d", ExactSpelling = true)] internal extern static void MapGrid1d(Int32 un, Double u1, Double u2); @@ -2635,16 +2635,16 @@ namespace OpenTK.Graphics internal extern static void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapNamedBufferEXT", ExactSpelling = true)] - internal extern static unsafe IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess access); + internal extern static unsafe IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapObjectBufferATI", ExactSpelling = true)] internal extern static unsafe IntPtr MapObjectBufferATI(UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterfvNV", ExactSpelling = true)] - internal extern static unsafe void MapParameterfvNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params); + internal extern static unsafe void MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterivNV", ExactSpelling = true)] - internal extern static unsafe void MapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params); + internal extern static unsafe void MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1dAPPLE", ExactSpelling = true)] internal extern static unsafe void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); @@ -2659,22 +2659,22 @@ namespace OpenTK.Graphics internal extern static unsafe void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] - internal extern static void Materialf(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); + internal extern static void Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)] - internal extern static unsafe void Materialfv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params); + internal extern static unsafe void Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMateriali", ExactSpelling = true)] - internal extern static void Materiali(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param); + internal extern static void Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialiv", ExactSpelling = true)] - internal extern static unsafe void Materialiv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params); + internal extern static unsafe void Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixFrustumEXT", ExactSpelling = true)] - internal extern static void MatrixFrustumEXT(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal extern static void MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerARB", ExactSpelling = true)] - internal extern static void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer); + internal extern static void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexubvARB", ExactSpelling = true)] internal extern static unsafe void MatrixIndexubvARB(Int32 size, Byte* indices); @@ -2686,388 +2686,388 @@ namespace OpenTK.Graphics internal extern static unsafe void MatrixIndexusvARB(Int32 size, UInt16* indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoaddEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoaddEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal extern static unsafe void MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadfEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoadfEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal extern static unsafe void MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadIdentityEXT", ExactSpelling = true)] - internal extern static void MatrixLoadIdentityEXT(OpenTK.Graphics.MatrixMode mode); + internal extern static void MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposedEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoadTransposedEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal extern static unsafe void MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposefEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixLoadTransposefEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal extern static unsafe void MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] - internal extern static void MatrixMode(OpenTK.Graphics.MatrixMode mode); + internal extern static void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultdEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultdEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal extern static unsafe void MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultfEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultfEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal extern static unsafe void MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposedEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultTransposedEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal extern static unsafe void MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposefEXT", ExactSpelling = true)] - internal extern static unsafe void MatrixMultTransposefEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal extern static unsafe void MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixOrthoEXT", ExactSpelling = true)] - internal extern static void MatrixOrthoEXT(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal extern static void MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPopEXT", ExactSpelling = true)] - internal extern static void MatrixPopEXT(OpenTK.Graphics.MatrixMode mode); + internal extern static void MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPushEXT", ExactSpelling = true)] - internal extern static void MatrixPushEXT(OpenTK.Graphics.MatrixMode mode); + internal extern static void MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatedEXT", ExactSpelling = true)] - internal extern static void MatrixRotatedEXT(OpenTK.Graphics.MatrixMode mode, Double angle, Double x, Double y, Double z); + internal extern static void MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatefEXT", ExactSpelling = true)] - internal extern static void MatrixRotatefEXT(OpenTK.Graphics.MatrixMode mode, Single angle, Single x, Single y, Single z); + internal extern static void MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScaledEXT", ExactSpelling = true)] - internal extern static void MatrixScaledEXT(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z); + internal extern static void MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScalefEXT", ExactSpelling = true)] - internal extern static void MatrixScalefEXT(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z); + internal extern static void MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatedEXT", ExactSpelling = true)] - internal extern static void MatrixTranslatedEXT(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z); + internal extern static void MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatefEXT", ExactSpelling = true)] - internal extern static void MatrixTranslatefEXT(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z); + internal extern static void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmax", ExactSpelling = true)] - internal extern static void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal extern static void Minmax(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmaxEXT", ExactSpelling = true)] - internal extern static void MinmaxEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal extern static void MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShading", ExactSpelling = true)] internal extern static void MinSampleShading(Single value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); + internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); + internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementArrayAPPLE", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + internal extern static unsafe void MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); + internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawRangeElementArrayAPPLE", ExactSpelling = true)] - internal extern static unsafe void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); + internal extern static unsafe void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawArraysIBM", ExactSpelling = true)] - internal extern static unsafe void MultiModeDrawArraysIBM(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + internal extern static unsafe void MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawElementsIBM", ExactSpelling = true)] - internal extern static unsafe void MultiModeDrawElementsIBM(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + internal extern static unsafe void MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexBufferEXT", ExactSpelling = true)] - internal extern static void MultiTexBufferEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer); + internal extern static void MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1d", ExactSpelling = true)] - internal extern static void MultiTexCoord1d(OpenTK.Graphics.TextureUnit target, Double s); + internal extern static void MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1dARB(OpenTK.Graphics.TextureUnit target, Double s); + internal extern static void MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1f", ExactSpelling = true)] - internal extern static void MultiTexCoord1f(OpenTK.Graphics.TextureUnit target, Single s); + internal extern static void MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1fARB(OpenTK.Graphics.TextureUnit target, Single s); + internal extern static void MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord1hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s); + internal extern static void MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal extern static unsafe void MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1i", ExactSpelling = true)] - internal extern static void MultiTexCoord1i(OpenTK.Graphics.TextureUnit target, Int32 s); + internal extern static void MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1iARB(OpenTK.Graphics.TextureUnit target, Int32 s); + internal extern static void MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1s", ExactSpelling = true)] - internal extern static void MultiTexCoord1s(OpenTK.Graphics.TextureUnit target, Int16 s); + internal extern static void MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord1sARB(OpenTK.Graphics.TextureUnit target, Int16 s); + internal extern static void MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord1svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2d", ExactSpelling = true)] - internal extern static void MultiTexCoord2d(OpenTK.Graphics.TextureUnit target, Double s, Double t); + internal extern static void MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t); + internal extern static void MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2f", ExactSpelling = true)] - internal extern static void MultiTexCoord2f(OpenTK.Graphics.TextureUnit target, Single s, Single t); + internal extern static void MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t); + internal extern static void MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord2hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t); + internal extern static void MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s, OpenTK.Half t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal extern static unsafe void MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2i", ExactSpelling = true)] - internal extern static void MultiTexCoord2i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t); + internal extern static void MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t); + internal extern static void MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2s", ExactSpelling = true)] - internal extern static void MultiTexCoord2s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t); + internal extern static void MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord2sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t); + internal extern static void MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord2svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3d", ExactSpelling = true)] - internal extern static void MultiTexCoord3d(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r); + internal extern static void MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r); + internal extern static void MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3f", ExactSpelling = true)] - internal extern static void MultiTexCoord3f(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r); + internal extern static void MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r); + internal extern static void MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord3hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r); + internal extern static void MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal extern static unsafe void MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3i", ExactSpelling = true)] - internal extern static void MultiTexCoord3i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r); + internal extern static void MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r); + internal extern static void MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3s", ExactSpelling = true)] - internal extern static void MultiTexCoord3s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r); + internal extern static void MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord3sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r); + internal extern static void MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord3svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4d", ExactSpelling = true)] - internal extern static void MultiTexCoord4d(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q); + internal extern static void MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q); + internal extern static void MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal extern static unsafe void MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] - internal extern static void MultiTexCoord4f(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q); + internal extern static void MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q); + internal extern static void MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fvARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal extern static unsafe void MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hNV", ExactSpelling = true)] - internal extern static void MultiTexCoord4hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q); + internal extern static void MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hvNV", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal extern static unsafe void MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4i", ExactSpelling = true)] - internal extern static void MultiTexCoord4i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + internal extern static void MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + internal extern static void MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4ivARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal extern static unsafe void MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4s", ExactSpelling = true)] - internal extern static void MultiTexCoord4s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + internal extern static void MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sARB", ExactSpelling = true)] - internal extern static void MultiTexCoord4sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + internal extern static void MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sv", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4svARB", ExactSpelling = true)] - internal extern static unsafe void MultiTexCoord4svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal extern static unsafe void MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordPointerEXT", ExactSpelling = true)] - internal extern static void MultiTexCoordPointerEXT(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer); + internal extern static void MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfEXT", ExactSpelling = true)] - internal extern static void MultiTexEnvfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param); + internal extern static void MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexEnvfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params); + internal extern static unsafe void MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnviEXT", ExactSpelling = true)] - internal extern static void MultiTexEnviEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param); + internal extern static void MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexEnvivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params); + internal extern static unsafe void MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendEXT", ExactSpelling = true)] - internal extern static void MultiTexGendEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param); + internal extern static void MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexGendvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params); + internal extern static unsafe void MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfEXT", ExactSpelling = true)] - internal extern static void MultiTexGenfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param); + internal extern static void MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexGenfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params); + internal extern static unsafe void MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGeniEXT", ExactSpelling = true)] - internal extern static void MultiTexGeniEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param); + internal extern static void MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexGenivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params); + internal extern static unsafe void MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage1DEXT", ExactSpelling = true)] - internal extern static void MultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void MultiTexImage1DEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage2DEXT", ExactSpelling = true)] - internal extern static void MultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void MultiTexImage2DEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage3DEXT", ExactSpelling = true)] - internal extern static void MultiTexImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void MultiTexImage3DEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfEXT", ExactSpelling = true)] - internal extern static void MultiTexParameterfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + internal extern static void MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + internal extern static unsafe void MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameteriEXT", ExactSpelling = true)] - internal extern static void MultiTexParameteriEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + internal extern static void MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterIivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterIuivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal extern static unsafe void MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void MultiTexParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexRenderbufferEXT", ExactSpelling = true)] - internal extern static void MultiTexRenderbufferEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + internal extern static void MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void MultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void MultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void MultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixd", ExactSpelling = true)] internal extern static unsafe void MultMatrixd(Double* m); @@ -3088,82 +3088,82 @@ namespace OpenTK.Graphics internal extern static unsafe void MultTransposeMatrixfARB(Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferDataEXT", ExactSpelling = true)] - internal extern static void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage); + internal extern static void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferSubDataEXT", ExactSpelling = true)] internal extern static void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferRenderbufferEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal extern static void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture1DEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal extern static void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture2DEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal extern static void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture3DEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal extern static void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal extern static void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureFaceEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + internal extern static void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureLayerEXT", ExactSpelling = true)] - internal extern static void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal extern static void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); + internal extern static void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dvEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double* @params); + internal extern static unsafe void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); + internal extern static void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fvEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params); + internal extern static unsafe void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4iEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal extern static void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4ivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params); + internal extern static unsafe void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uiEXT", ExactSpelling = true)] - internal extern static void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal extern static void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params); + internal extern static unsafe void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameters4fvEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); + internal extern static unsafe void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4ivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); + internal extern static unsafe void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4uivEXT", ExactSpelling = true)] - internal extern static unsafe void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); + internal extern static unsafe void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramStringEXT", ExactSpelling = true)] - internal extern static void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string); + internal extern static void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageEXT", ExactSpelling = true)] - internal extern static void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal extern static void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT", ExactSpelling = true)] - internal extern static void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal extern static void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal extern static void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewList", ExactSpelling = true)] - internal extern static void NewList(UInt32 list, OpenTK.Graphics.ListMode mode); + internal extern static void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewObjectBufferATI", ExactSpelling = true)] - internal extern static Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage); + internal extern static Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3b", ExactSpelling = true)] internal extern static void Normal3b(SByte nx, SByte ny, SByte nz); @@ -3208,58 +3208,58 @@ namespace OpenTK.Graphics internal extern static unsafe void Normal3sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] - internal extern static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + internal extern static void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerEXT", ExactSpelling = true)] - internal extern static void NormalPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal extern static void NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerListIBM", ExactSpelling = true)] - internal extern static void NormalPointerListIBM(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointervINTEL", ExactSpelling = true)] - internal extern static void NormalPointervINTEL(OpenTK.Graphics.NormalPointerType type, IntPtr pointer); + internal extern static void NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bATI", ExactSpelling = true)] - internal extern static void NormalStream3bATI(OpenTK.Graphics.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); + internal extern static void NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bvATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3bvATI(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords); + internal extern static unsafe void NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dATI", ExactSpelling = true)] - internal extern static void NormalStream3dATI(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz); + internal extern static void NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dvATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal extern static unsafe void NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fATI", ExactSpelling = true)] - internal extern static void NormalStream3fATI(OpenTK.Graphics.AtiVertexStreams stream, Single nx, Single ny, Single nz); + internal extern static void NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fvATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal extern static unsafe void NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3iATI", ExactSpelling = true)] - internal extern static void NormalStream3iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); + internal extern static void NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3ivATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal extern static unsafe void NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3sATI", ExactSpelling = true)] - internal extern static void NormalStream3sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); + internal extern static void NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3svATI", ExactSpelling = true)] - internal extern static unsafe void NormalStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal extern static unsafe void NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPurgeableAPPLE", ExactSpelling = true)] - internal extern static IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + internal extern static IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectUnpurgeableAPPLE", ExactSpelling = true)] - internal extern static IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + internal extern static IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrtho", ExactSpelling = true)] internal extern static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassTexCoordATI", ExactSpelling = true)] - internal extern static void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.AtiFragmentShader swizzle); + internal extern static void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThrough", ExactSpelling = true)] internal extern static void PassThrough(Single token); @@ -3268,100 +3268,100 @@ namespace OpenTK.Graphics internal extern static void PauseTransformFeedbackNV(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelDataRangeNV", ExactSpelling = true)] - internal extern static void PixelDataRangeNV(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer); + internal extern static void PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapfv", ExactSpelling = true)] - internal extern static unsafe void PixelMapfv(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values); + internal extern static unsafe void PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapuiv", ExactSpelling = true)] - internal extern static unsafe void PixelMapuiv(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values); + internal extern static unsafe void PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapusv", ExactSpelling = true)] - internal extern static unsafe void PixelMapusv(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values); + internal extern static unsafe void PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStoref", ExactSpelling = true)] - internal extern static void PixelStoref(OpenTK.Graphics.PixelStoreParameter pname, Single param); + internal extern static void PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] - internal extern static void PixelStorei(OpenTK.Graphics.PixelStoreParameter pname, Int32 param); + internal extern static void PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfSGIS", ExactSpelling = true)] - internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.SgisPixelTexture pname, Single param); + internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.SgisPixelTexture pname, Single* @params); + internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameteriSGIS", ExactSpelling = true)] - internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.SgisPixelTexture pname, Int32 param); + internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterivSGIS", ExactSpelling = true)] - internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.SgisPixelTexture pname, Int32* @params); + internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenSGIX", ExactSpelling = true)] - internal extern static void PixelTexGenSGIX(OpenTK.Graphics.SgixPixelTexture mode); + internal extern static void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferf", ExactSpelling = true)] - internal extern static void PixelTransferf(OpenTK.Graphics.PixelTransferParameter pname, Single param); + internal extern static void PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferi", ExactSpelling = true)] - internal extern static void PixelTransferi(OpenTK.Graphics.PixelTransferParameter pname, Int32 param); + internal extern static void PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfEXT", ExactSpelling = true)] - internal extern static void PixelTransformParameterfEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single param); + internal extern static void PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void PixelTransformParameterfvEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single* @params); + internal extern static unsafe void PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameteriEXT", ExactSpelling = true)] - internal extern static void PixelTransformParameteriEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32 param); + internal extern static void PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void PixelTransformParameterivEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32* @params); + internal extern static unsafe void PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoom", ExactSpelling = true)] internal extern static void PixelZoom(Single xfactor, Single yfactor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesfATI", ExactSpelling = true)] - internal extern static void PNTrianglesfATI(OpenTK.Graphics.AtiPnTriangles pname, Single param); + internal extern static void PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesiATI", ExactSpelling = true)] - internal extern static void PNTrianglesiATI(OpenTK.Graphics.AtiPnTriangles pname, Int32 param); + internal extern static void PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] - internal extern static void PointParameterf(OpenTK.Graphics.PointParameterName pname, Single param); + internal extern static void PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfARB", ExactSpelling = true)] - internal extern static void PointParameterfARB(OpenTK.Graphics.ArbPointParameters pname, Single param); + internal extern static void PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfEXT", ExactSpelling = true)] - internal extern static void PointParameterfEXT(OpenTK.Graphics.ExtPointParameters pname, Single param); + internal extern static void PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfSGIS", ExactSpelling = true)] - internal extern static void PointParameterfSGIS(OpenTK.Graphics.SgisPointParameters pname, Single param); + internal extern static void PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] - internal extern static unsafe void PointParameterfv(OpenTK.Graphics.PointParameterName pname, Single* @params); + internal extern static unsafe void PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvARB", ExactSpelling = true)] - internal extern static unsafe void PointParameterfvARB(OpenTK.Graphics.ArbPointParameters pname, Single* @params); + internal extern static unsafe void PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void PointParameterfvEXT(OpenTK.Graphics.ExtPointParameters pname, Single* @params); + internal extern static unsafe void PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvSGIS", ExactSpelling = true)] - internal extern static unsafe void PointParameterfvSGIS(OpenTK.Graphics.SgisPointParameters pname, Single* @params); + internal extern static unsafe void PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteri", ExactSpelling = true)] - internal extern static void PointParameteri(OpenTK.Graphics.PointParameterName pname, Int32 param); + internal extern static void PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriNV", ExactSpelling = true)] - internal extern static void PointParameteriNV(OpenTK.Graphics.NvPointSprite pname, Int32 param); + internal extern static void PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriv", ExactSpelling = true)] - internal extern static unsafe void PointParameteriv(OpenTK.Graphics.PointParameterName pname, Int32* @params); + internal extern static unsafe void PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterivNV", ExactSpelling = true)] - internal extern static unsafe void PointParameterivNV(OpenTK.Graphics.NvPointSprite pname, Int32* @params); + internal extern static unsafe void PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] internal extern static void PointSize(Single size); @@ -3373,7 +3373,7 @@ namespace OpenTK.Graphics internal extern static unsafe Int32 PollInstrumentsSGIX([Out] Int32* marker_p); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonMode", ExactSpelling = true)] - internal extern static void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode); + internal extern static void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] internal extern static void PolygonOffset(Single factor, Single units); @@ -3397,10 +3397,10 @@ namespace OpenTK.Graphics internal extern static void PopName(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameDualFillNV", ExactSpelling = true)] - internal extern static void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3); + internal extern static void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameKeyedNV", ExactSpelling = true)] - internal extern static void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1); + internal extern static void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndex", ExactSpelling = true)] internal extern static void PrimitiveRestartIndex(UInt32 index); @@ -3418,79 +3418,79 @@ namespace OpenTK.Graphics internal extern static unsafe void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersfvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramBufferParametersfvNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); + internal extern static unsafe void ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramBufferParametersIivNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); + internal extern static unsafe void ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIuivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramBufferParametersIuivNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); + internal extern static unsafe void ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dARB", ExactSpelling = true)] - internal extern static void ProgramEnvParameter4dARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal extern static void ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameter4dvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + internal extern static unsafe void ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fARB", ExactSpelling = true)] - internal extern static void ProgramEnvParameter4fARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal extern static void ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameter4fvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + internal extern static unsafe void ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4iNV", ExactSpelling = true)] - internal extern static void ProgramEnvParameterI4iNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal extern static void ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameterI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params); + internal extern static unsafe void ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uiNV", ExactSpelling = true)] - internal extern static void ProgramEnvParameterI4uiNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal extern static void ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameterI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params); + internal extern static unsafe void ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameters4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParameters4fvEXT(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + internal extern static unsafe void ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParametersI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + internal extern static unsafe void ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramEnvParametersI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + internal extern static unsafe void ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dARB", ExactSpelling = true)] - internal extern static void ProgramLocalParameter4dARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal extern static void ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameter4dvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + internal extern static unsafe void ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fARB", ExactSpelling = true)] - internal extern static void ProgramLocalParameter4fARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal extern static void ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fvARB", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameter4fvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + internal extern static unsafe void ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4iNV", ExactSpelling = true)] - internal extern static void ProgramLocalParameterI4iNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal extern static void ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameterI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params); + internal extern static unsafe void ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uiNV", ExactSpelling = true)] - internal extern static void ProgramLocalParameterI4uiNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal extern static void ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameterI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params); + internal extern static unsafe void ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameters4fvEXT", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParameters4fvEXT(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + internal extern static unsafe void ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4ivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParametersI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + internal extern static unsafe void ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4uivNV", ExactSpelling = true)] - internal extern static unsafe void ProgramLocalParametersI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + internal extern static unsafe void ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dNV", ExactSpelling = true)] internal extern static unsafe void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); @@ -3505,34 +3505,34 @@ namespace OpenTK.Graphics internal extern static unsafe void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dNV", ExactSpelling = true)] - internal extern static void ProgramParameter4dNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal extern static void ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameter4dvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* v); + internal extern static unsafe void ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fNV", ExactSpelling = true)] - internal extern static void ProgramParameter4fNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal extern static void ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameter4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v); + internal extern static unsafe void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] - internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value); + internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriARB", ExactSpelling = true)] - internal extern static void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value); + internal extern static void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.ArbGeometryShader4 pname, Int32 value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriEXT", ExactSpelling = true)] - internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value); + internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtGeometryShader4 pname, Int32 value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4dvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameters4dvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v); + internal extern static unsafe void ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4fvNV", ExactSpelling = true)] - internal extern static unsafe void ProgramParameters4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v); + internal extern static unsafe void ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramStringARB", ExactSpelling = true)] - internal extern static void ProgramStringARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, IntPtr @string); + internal extern static void ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fEXT", ExactSpelling = true)] internal extern static void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); @@ -3634,22 +3634,22 @@ namespace OpenTK.Graphics internal extern static unsafe void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramVertexLimitNV", ExactSpelling = true)] - internal extern static void ProgramVertexLimitNV(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit); + internal extern static void ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertex", ExactSpelling = true)] - internal extern static void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode); + internal extern static void ProvokingVertex(OpenTK.Graphics.OpenGL.ArbProvokingVertex mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertexEXT", ExactSpelling = true)] - internal extern static void ProvokingVertexEXT(OpenTK.Graphics.ExtProvokingVertex mode); + internal extern static void ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushAttrib", ExactSpelling = true)] - internal extern static void PushAttrib(OpenTK.Graphics.AttribMask mask); + internal extern static void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttrib", ExactSpelling = true)] - internal extern static void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask); + internal extern static void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttribDefaultEXT", ExactSpelling = true)] - internal extern static void PushClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); + internal extern static void PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] internal extern static void PushMatrix(); @@ -3730,13 +3730,13 @@ namespace OpenTK.Graphics internal extern static unsafe void RasterPos4sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] - internal extern static void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode); + internal extern static void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadInstrumentsSGIX", ExactSpelling = true)] internal extern static void ReadInstrumentsSGIX(Int32 marker); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] - internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectd", ExactSpelling = true)] internal extern static void Rectd(Double x1, Double y1, Double x2, Double y2); @@ -3766,25 +3766,25 @@ namespace OpenTK.Graphics internal extern static unsafe void ReferencePlaneSGIX(Double* equation); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] - internal extern static void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal extern static void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageEXT(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal extern static void RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleCoverageNV", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal extern static void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] - internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); + internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderMode", ExactSpelling = true)] - internal extern static Int32 RenderMode(OpenTK.Graphics.RenderingMode mode); + internal extern static Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodePointerSUN", ExactSpelling = true)] - internal extern static void ReplacementCodePointerSUN(OpenTK.Graphics.SunTriangleList type, Int32 stride, IntPtr pointer); + internal extern static void ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubSUN", ExactSpelling = true)] internal extern static void ReplacementCodeubSUN(Byte code); @@ -3856,16 +3856,16 @@ namespace OpenTK.Graphics internal extern static unsafe void RequestResidentProgramsNV(Int32 n, UInt32* programs); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogram", ExactSpelling = true)] - internal extern static void ResetHistogram(OpenTK.Graphics.Version12Deprecated target); + internal extern static void ResetHistogram(OpenTK.Graphics.OpenGL.Version12Deprecated target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogramEXT", ExactSpelling = true)] - internal extern static void ResetHistogramEXT(OpenTK.Graphics.ExtHistogram target); + internal extern static void ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)] - internal extern static void ResetMinmax(OpenTK.Graphics.Version12Deprecated target); + internal extern static void ResetMinmax(OpenTK.Graphics.OpenGL.Version12Deprecated target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmaxEXT", ExactSpelling = true)] - internal extern static void ResetMinmaxEXT(OpenTK.Graphics.ExtHistogram target); + internal extern static void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResizeBuffersMESA", CharSet = CharSet.Auto)] internal extern static void ResizeBuffersMESA(); @@ -3886,7 +3886,7 @@ namespace OpenTK.Graphics internal extern static void SampleCoverageARB(Single value, bool invert); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMapATI", ExactSpelling = true)] - internal extern static void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.AtiFragmentShader swizzle); + internal extern static void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskEXT", ExactSpelling = true)] internal extern static void SampleMaskEXT(Single value, bool invert); @@ -3901,10 +3901,10 @@ namespace OpenTK.Graphics internal extern static void SampleMaskSGIS(Single value, bool invert); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternEXT", ExactSpelling = true)] - internal extern static void SamplePatternEXT(OpenTK.Graphics.ExtMultisample pattern); + internal extern static void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternSGIS", ExactSpelling = true)] - internal extern static void SamplePatternSGIS(OpenTK.Graphics.SgisMultisample pattern); + internal extern static void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScaled", ExactSpelling = true)] internal extern static void Scaled(Double x, Double y, Double z); @@ -4018,13 +4018,13 @@ namespace OpenTK.Graphics internal extern static unsafe void SecondaryColor3usvEXT(UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointer", ExactSpelling = true)] - internal extern static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + internal extern static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerEXT", ExactSpelling = true)] - internal extern static void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + internal extern static void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerListIBM", ExactSpelling = true)] - internal extern static void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectBuffer", ExactSpelling = true)] internal extern static unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer); @@ -4033,37 +4033,37 @@ namespace OpenTK.Graphics internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2D", ExactSpelling = true)] - internal extern static void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column); + internal extern static void SeparableFilter2D(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2DEXT", ExactSpelling = true)] - internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column); + internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceAPPLE", ExactSpelling = true)] internal extern static void SetFenceAPPLE(UInt32 fence); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] - internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.NvFence condition); + internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFragmentShaderConstantATI", ExactSpelling = true)] internal extern static unsafe void SetFragmentShaderConstantATI(UInt32 dst, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetInvariantEXT", ExactSpelling = true)] - internal extern static void SetInvariantEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr); + internal extern static void SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetLocalConstantEXT", ExactSpelling = true)] - internal extern static void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr); + internal extern static void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] - internal extern static void ShadeModel(OpenTK.Graphics.ShadingModel mode); + internal extern static void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp1EXT", ExactSpelling = true)] - internal extern static void ShaderOp1EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1); + internal extern static void ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp2EXT", ExactSpelling = true)] - internal extern static void ShaderOp2EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); + internal extern static void ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp3EXT", ExactSpelling = true)] - internal extern static void ShaderOp3EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); + internal extern static void ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); @@ -4072,19 +4072,19 @@ namespace OpenTK.Graphics internal extern static unsafe void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSharpenTexFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void SharpenTexFuncSGIS(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points); + internal extern static unsafe void SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfSGIX", ExactSpelling = true)] - internal extern static void SpriteParameterfSGIX(OpenTK.Graphics.SgixSprite pname, Single param); + internal extern static void SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfvSGIX", ExactSpelling = true)] - internal extern static unsafe void SpriteParameterfvSGIX(OpenTK.Graphics.SgixSprite pname, Single* @params); + internal extern static unsafe void SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameteriSGIX", ExactSpelling = true)] - internal extern static void SpriteParameteriSGIX(OpenTK.Graphics.SgixSprite pname, Int32 param); + internal extern static void SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterivSGIX", ExactSpelling = true)] - internal extern static unsafe void SpriteParameterivSGIX(OpenTK.Graphics.SgixSprite pname, Int32* @params); + internal extern static unsafe void SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartInstrumentsSGIX", ExactSpelling = true)] internal extern static void StartInstrumentsSGIX(); @@ -4093,28 +4093,28 @@ namespace OpenTK.Graphics internal extern static void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] - internal extern static void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask); + internal extern static void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] - internal extern static void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask); + internal extern static void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparateATI", ExactSpelling = true)] - internal extern static void StencilFuncSeparateATI(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask); + internal extern static void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] internal extern static void StencilMask(UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] - internal extern static void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask); + internal extern static void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] - internal extern static void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass); + internal extern static void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] - internal extern static void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass); + internal extern static void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparateATI", ExactSpelling = true)] - internal extern static void StencilOpSeparateATI(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass); + internal extern static void StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStopInstrumentsSGIX", ExactSpelling = true)] internal extern static void StopInstrumentsSGIX(Int32 marker); @@ -4123,7 +4123,7 @@ namespace OpenTK.Graphics internal extern static void StringMarkerGREMEDY(Int32 len, IntPtr @string); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSwizzleEXT", ExactSpelling = true)] - internal extern static void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW); + internal extern static void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTagSampleBufferSGIX", ExactSpelling = true)] internal extern static void TagSampleBufferSGIX(); @@ -4159,7 +4159,7 @@ namespace OpenTK.Graphics internal extern static unsafe void Tangent3svEXT(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangentPointerEXT", ExactSpelling = true)] - internal extern static void TangentPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + internal extern static void TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTbufferMask3DFX", ExactSpelling = true)] internal extern static void TbufferMask3DFX(UInt32 mask); @@ -4168,7 +4168,7 @@ namespace OpenTK.Graphics internal extern static void TessellationFactorAMD(Single factor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationModeAMD", ExactSpelling = true)] - internal extern static void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode); + internal extern static void TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceAPPLE", ExactSpelling = true)] internal extern static bool TestFenceAPPLE(UInt32 fence); @@ -4177,22 +4177,22 @@ namespace OpenTK.Graphics internal extern static bool TestFenceNV(UInt32 fence); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestObjectAPPLE", ExactSpelling = true)] - internal extern static bool TestObjectAPPLE(OpenTK.Graphics.AppleFence @object, UInt32 name); + internal extern static bool TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBuffer", ExactSpelling = true)] - internal extern static void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer); + internal extern static void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferARB", ExactSpelling = true)] - internal extern static void TexBufferARB(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer); + internal extern static void TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferEXT", ExactSpelling = true)] - internal extern static void TexBufferEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer); + internal extern static void TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterfvATI", ExactSpelling = true)] - internal extern static unsafe void TexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param); + internal extern static unsafe void TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterivATI", ExactSpelling = true)] - internal extern static unsafe void TexBumpParameterivATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32* param); + internal extern static unsafe void TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1d", ExactSpelling = true)] internal extern static void TexCoord1d(Double s); @@ -4357,190 +4357,190 @@ namespace OpenTK.Graphics internal extern static unsafe void TexCoord4sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] - internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer); + internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerEXT", ExactSpelling = true)] - internal extern static void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal extern static void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerListIBM", ExactSpelling = true)] - internal extern static void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointervINTEL", ExactSpelling = true)] - internal extern static void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + internal extern static void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] - internal extern static void TexEnvf(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param); + internal extern static void TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)] - internal extern static unsafe void TexEnvfv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params); + internal extern static unsafe void TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)] - internal extern static void TexEnvi(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param); + internal extern static void TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)] - internal extern static unsafe void TexEnviv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params); + internal extern static unsafe void TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexFilterFuncSGIS", ExactSpelling = true)] - internal extern static unsafe void TexFilterFuncSGIS(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single* weights); + internal extern static unsafe void TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGend", ExactSpelling = true)] - internal extern static void TexGend(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param); + internal extern static void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGendv", ExactSpelling = true)] - internal extern static unsafe void TexGendv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params); + internal extern static unsafe void TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenf", ExactSpelling = true)] - internal extern static void TexGenf(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param); + internal extern static void TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfv", ExactSpelling = true)] - internal extern static unsafe void TexGenfv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params); + internal extern static unsafe void TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeni", ExactSpelling = true)] - internal extern static void TexGeni(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param); + internal extern static void TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeniv", ExactSpelling = true)] - internal extern static unsafe void TexGeniv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params); + internal extern static unsafe void TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage1D", ExactSpelling = true)] - internal extern static void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] - internal extern static void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisample", ExactSpelling = true)] - internal extern static void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + internal extern static void TexImage2DMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] - internal extern static void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DEXT", ExactSpelling = true)] - internal extern static void TexImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisample", ExactSpelling = true)] - internal extern static void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + internal extern static void TexImage3DMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage4DSGIS", ExactSpelling = true)] - internal extern static void TexImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] - internal extern static void TexParameterf(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + internal extern static void TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] - internal extern static unsafe void TexParameterfv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + internal extern static unsafe void TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] - internal extern static void TexParameteri(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + internal extern static void TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIiv", ExactSpelling = true)] - internal extern static unsafe void TexParameterIiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void TexParameterIivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuiv", ExactSpelling = true)] - internal extern static unsafe void TexParameterIuiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal extern static unsafe void TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void TexParameterIuivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal extern static unsafe void TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] - internal extern static unsafe void TexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexRenderbufferNV", ExactSpelling = true)] - internal extern static void TexRenderbufferNV(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + internal extern static void TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1D", ExactSpelling = true)] - internal extern static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1DEXT", ExactSpelling = true)] - internal extern static void TexSubImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] - internal extern static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2DEXT", ExactSpelling = true)] - internal extern static void TexSubImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] - internal extern static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DEXT", ExactSpelling = true)] - internal extern static void TexSubImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage4DSGIS", ExactSpelling = true)] - internal extern static void TexSubImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBufferEXT", ExactSpelling = true)] - internal extern static void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer); + internal extern static void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureColorMaskSGIS", ExactSpelling = true)] internal extern static void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage1DEXT", ExactSpelling = true)] - internal extern static void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TextureImage1DEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DEXT", ExactSpelling = true)] - internal extern static void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TextureImage2DEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DEXT", ExactSpelling = true)] - internal extern static void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TextureImage3DEXT(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); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureLightEXT", ExactSpelling = true)] - internal extern static void TextureLightEXT(OpenTK.Graphics.ExtLightTexture pname); + internal extern static void TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureMaterialEXT", ExactSpelling = true)] - internal extern static void TextureMaterialEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode); + internal extern static void TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureNormalEXT", ExactSpelling = true)] - internal extern static void TextureNormalEXT(OpenTK.Graphics.ExtTexturePerturbNormal mode); + internal extern static void TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfEXT", ExactSpelling = true)] - internal extern static void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + internal extern static void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfvEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + internal extern static unsafe void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameteriEXT", ExactSpelling = true)] - internal extern static void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + internal extern static void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIivEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIuivEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal extern static unsafe void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterivEXT", ExactSpelling = true)] - internal extern static unsafe void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal extern static unsafe void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRangeAPPLE", ExactSpelling = true)] - internal extern static void TextureRangeAPPLE(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer); + internal extern static void TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRenderbufferEXT", ExactSpelling = true)] - internal extern static void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + internal extern static void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage1DEXT", ExactSpelling = true)] - internal extern static void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage2DEXT", ExactSpelling = true)] - internal extern static void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage3DEXT", ExactSpelling = true)] - internal extern static void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal extern static void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTrackMatrixNV", ExactSpelling = true)] - internal extern static void TrackMatrixNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform); + internal extern static void TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackAttribsNV", ExactSpelling = true)] - internal extern static unsafe void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode); + internal extern static unsafe void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode); + internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsEXT", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode); + internal extern static void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsNV", ExactSpelling = true)] - internal extern static void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode); + internal extern static void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslated", ExactSpelling = true)] internal extern static void Translated(Double x, Double y, Double z); @@ -4738,10 +4738,10 @@ namespace OpenTK.Graphics internal extern static void UnlockArraysEXT(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] - internal extern static bool UnmapBuffer(OpenTK.Graphics.BufferTarget target); + internal extern static bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferARB", ExactSpelling = true)] - internal extern static bool UnmapBufferARB(OpenTK.Graphics.BufferTargetArb target); + internal extern static bool UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapNamedBufferEXT", ExactSpelling = true)] internal extern static bool UnmapNamedBufferEXT(UInt32 buffer); @@ -4750,7 +4750,7 @@ namespace OpenTK.Graphics internal extern static void UnmapObjectBufferATI(UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUpdateObjectBufferATI", ExactSpelling = true)] - internal extern static void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve); + internal extern static void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] internal extern static void UseProgram(UInt32 program); @@ -4765,7 +4765,7 @@ namespace OpenTK.Graphics internal extern static void ValidateProgramARB(UInt32 programObj); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantArrayObjectATI", ExactSpelling = true)] - internal extern static void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + internal extern static void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantbvEXT", ExactSpelling = true)] internal extern static unsafe void VariantbvEXT(UInt32 id, SByte* addr); @@ -4780,7 +4780,7 @@ namespace OpenTK.Graphics internal extern static unsafe void VariantivEXT(UInt32 id, Int32* addr); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantPointerEXT", ExactSpelling = true)] - internal extern static void VariantPointerEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, IntPtr addr); + internal extern static void VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantsvEXT", ExactSpelling = true)] internal extern static unsafe void VariantsvEXT(UInt32 id, Int16* addr); @@ -4885,7 +4885,7 @@ namespace OpenTK.Graphics internal extern static unsafe void Vertex4sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayParameteriAPPLE", ExactSpelling = true)] - internal extern static void VertexArrayParameteriAPPLE(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param); + internal extern static void VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeAPPLE", ExactSpelling = true)] internal extern static void VertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer); @@ -5212,7 +5212,7 @@ namespace OpenTK.Graphics internal extern static unsafe void VertexAttrib4usvARB(UInt32 index, UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribArrayObjectATI", ExactSpelling = true)] - internal extern static void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); + internal extern static void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorARB", ExactSpelling = true)] internal extern static void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); @@ -5338,19 +5338,19 @@ namespace OpenTK.Graphics internal extern static unsafe void VertexAttribI4usvEXT(UInt32 index, UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] - internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribParameter type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointerEXT", ExactSpelling = true)] - internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] - internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerARB", ExactSpelling = true)] - internal extern static void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerNV", ExactSpelling = true)] - internal extern static void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1dvNV", ExactSpelling = true)] internal extern static unsafe void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); @@ -5407,118 +5407,118 @@ namespace OpenTK.Graphics internal extern static void VertexBlendARB(Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnvfATI", ExactSpelling = true)] - internal extern static void VertexBlendEnvfATI(OpenTK.Graphics.AtiVertexStreams pname, Single param); + internal extern static void VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnviATI", ExactSpelling = true)] - internal extern static void VertexBlendEnviATI(OpenTK.Graphics.AtiVertexStreams pname, Int32 param); + internal extern static void VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] - internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer); + internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerEXT", ExactSpelling = true)] - internal extern static void VertexPointerEXT(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal extern static void VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerListIBM", ExactSpelling = true)] - internal extern static void VertexPointerListIBM(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal extern static void VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointervINTEL", ExactSpelling = true)] - internal extern static void VertexPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + internal extern static void VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dATI", ExactSpelling = true)] - internal extern static void VertexStream1dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x); + internal extern static void VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal extern static unsafe void VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fATI", ExactSpelling = true)] - internal extern static void VertexStream1fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x); + internal extern static void VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal extern static unsafe void VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1iATI", ExactSpelling = true)] - internal extern static void VertexStream1iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x); + internal extern static void VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal extern static unsafe void VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1sATI", ExactSpelling = true)] - internal extern static void VertexStream1sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x); + internal extern static void VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream1svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal extern static unsafe void VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dATI", ExactSpelling = true)] - internal extern static void VertexStream2dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y); + internal extern static void VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal extern static unsafe void VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fATI", ExactSpelling = true)] - internal extern static void VertexStream2fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y); + internal extern static void VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal extern static unsafe void VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2iATI", ExactSpelling = true)] - internal extern static void VertexStream2iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y); + internal extern static void VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal extern static unsafe void VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2sATI", ExactSpelling = true)] - internal extern static void VertexStream2sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y); + internal extern static void VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream2svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal extern static unsafe void VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dATI", ExactSpelling = true)] - internal extern static void VertexStream3dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z); + internal extern static void VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal extern static unsafe void VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fATI", ExactSpelling = true)] - internal extern static void VertexStream3fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z); + internal extern static void VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal extern static unsafe void VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3iATI", ExactSpelling = true)] - internal extern static void VertexStream3iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); + internal extern static void VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal extern static unsafe void VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3sATI", ExactSpelling = true)] - internal extern static void VertexStream3sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); + internal extern static void VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal extern static unsafe void VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dATI", ExactSpelling = true)] - internal extern static void VertexStream4dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z, Double w); + internal extern static void VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal extern static unsafe void VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fATI", ExactSpelling = true)] - internal extern static void VertexStream4fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z, Single w); + internal extern static void VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fvATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal extern static unsafe void VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4iATI", ExactSpelling = true)] - internal extern static void VertexStream4iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); + internal extern static void VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4ivATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal extern static unsafe void VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4sATI", ExactSpelling = true)] - internal extern static void VertexStream4sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); + internal extern static void VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4svATI", ExactSpelling = true)] - internal extern static unsafe void VertexStream4svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal extern static unsafe void VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfEXT", ExactSpelling = true)] internal extern static void VertexWeightfEXT(Single weight); @@ -5533,7 +5533,7 @@ namespace OpenTK.Graphics internal extern static unsafe void VertexWeighthvNV(OpenTK.Half* weight); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightPointerEXT", ExactSpelling = true)] - internal extern static void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, IntPtr pointer); + internal extern static void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); @@ -5554,7 +5554,7 @@ namespace OpenTK.Graphics internal extern static unsafe void WeightivARB(Int32 size, Int32* weights); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerARB", ExactSpelling = true)] - internal extern static void WeightPointerARB(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer); + internal extern static void WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightsvARB", ExactSpelling = true)] internal extern static unsafe void WeightsvARB(Int32 size, Int16* weights); @@ -5737,7 +5737,7 @@ namespace OpenTK.Graphics internal extern static unsafe void WindowPos4svMESA(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWriteMaskEXT", ExactSpelling = true)] - internal extern static void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW); + internal extern static void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); } } } diff --git a/Source/OpenTK/Graphics/GL/GLDelegates.cs b/Source/OpenTK/Graphics/GL/GLDelegates.cs index 5045cf57..97b12a0f 100644 --- a/Source/OpenTK/Graphics/GL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/GL/GLDelegates.cs @@ -25,7 +25,7 @@ // #endregion -namespace OpenTK.Graphics +namespace OpenTK.Graphics.OpenGL { using System; using System.Runtime.InteropServices; @@ -38,34 +38,34 @@ namespace OpenTK.Graphics internal static partial class Delegates { [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Accum(OpenTK.Graphics.AccumOp op, Single value); + internal delegate void Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value); internal static Accum glAccum; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveStencilFaceEXT(OpenTK.Graphics.ExtStencilTwoSide face); + internal delegate void ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face); internal static ActiveStencilFaceEXT glActiveStencilFaceEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTexture(OpenTK.Graphics.TextureUnit texture); + internal delegate void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); internal static ActiveTexture glActiveTexture; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveTextureARB(OpenTK.Graphics.TextureUnit texture); + internal delegate void ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); internal static ActiveTextureARB glActiveTextureARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ActiveVaryingNV(UInt32 program, String name); internal static ActiveVaryingNV glActiveVaryingNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFragmentOp1ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + internal delegate void AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); internal static AlphaFragmentOp1ATI glAlphaFragmentOp1ATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFragmentOp2ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + internal delegate void AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); internal static AlphaFragmentOp2ATI glAlphaFragmentOp2ATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFragmentOp3ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + internal delegate void AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); internal static AlphaFragmentOp3ATI glAlphaFragmentOp3ATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref); + internal delegate void AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref); internal static AlphaFunc glAlphaFunc; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ApplyTextureEXT(OpenTK.Graphics.ExtLightTexture mode); + internal delegate void ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode); internal static ApplyTextureEXT glApplyTextureEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate bool AreProgramsResidentNV(Int32 n, UInt32* programs, [Out] bool* residences); @@ -83,7 +83,7 @@ namespace OpenTK.Graphics internal delegate void ArrayElementEXT(Int32 i); internal static ArrayElementEXT glArrayElementEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ArrayObjectATI(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + internal delegate void ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); internal static ArrayObjectATI glArrayObjectATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void AsyncMarkerSGIX(UInt32 marker); @@ -95,13 +95,13 @@ namespace OpenTK.Graphics internal delegate void AttachShader(UInt32 program, UInt32 shader); internal static AttachShader glAttachShader; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Begin(OpenTK.Graphics.BeginMode mode); + internal delegate void Begin(OpenTK.Graphics.OpenGL.BeginMode mode); internal static Begin glBegin; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginConditionalRender(UInt32 id, OpenTK.Graphics.ConditionalRenderType mode); + internal delegate void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode); internal static BeginConditionalRender glBeginConditionalRender; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.NvConditionalRender mode); + internal delegate void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode); internal static BeginConditionalRenderNV glBeginConditionalRenderNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BeginFragmentShaderATI(); @@ -113,19 +113,19 @@ namespace OpenTK.Graphics internal delegate void BeginPerfMonitorAMD(UInt32 monitor); internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id); + internal delegate void BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id); internal static BeginQuery glBeginQuery; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginQueryARB(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id); + internal delegate void BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id); internal static BeginQueryARB glBeginQueryARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedback(OpenTK.Graphics.BeginFeedbackMode primitiveMode); + internal delegate void BeginTransformFeedback(OpenTK.Graphics.OpenGL.BeginFeedbackMode primitiveMode); internal static BeginTransformFeedback glBeginTransformFeedback; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedbackEXT(OpenTK.Graphics.ExtTransformFeedback primitiveMode); + internal delegate void BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode); internal static BeginTransformFeedbackEXT glBeginTransformFeedbackEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback primitiveMode); + internal delegate void BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode); internal static BeginTransformFeedbackNV glBeginTransformFeedbackNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BeginVertexShaderEXT(); @@ -137,34 +137,34 @@ namespace OpenTK.Graphics internal delegate void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); internal static BindAttribLocationARB glBindAttribLocationARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer); + internal delegate void BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer); internal static BindBuffer glBindBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferARB(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer); + internal delegate void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer); internal static BindBufferARB glBindBufferARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer); + internal delegate void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer); internal static BindBufferBase glBindBufferBase; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBaseEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer); + internal delegate void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer); internal static BindBufferBaseEXT glBindBufferBaseEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferBaseNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer); + internal delegate void BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer); internal static BindBufferBaseNV glBindBufferBaseNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferOffsetEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + internal delegate void BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); internal static BindBufferOffsetEXT glBindBufferOffsetEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferOffsetNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + internal delegate void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); internal static BindBufferOffsetNV glBindBufferOffsetNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRange(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal delegate void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); internal static BindBufferRange glBindBufferRange; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRangeEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal delegate void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); internal static BindBufferRangeEXT glBindBufferRangeEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindBufferRangeNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + internal delegate void BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); internal static BindBufferRangeNV glBindBufferRangeNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BindFragDataLocation(UInt32 program, UInt32 color, String name); @@ -176,49 +176,49 @@ namespace OpenTK.Graphics internal delegate void BindFragmentShaderATI(UInt32 id); internal static BindFragmentShaderATI glBindFragmentShaderATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer); + internal delegate void BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); internal static BindFramebuffer glBindFramebuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFramebufferEXT(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer); + internal delegate void BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer); internal static BindFramebufferEXT glBindFramebufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindLightParameterEXT(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value); + internal delegate Int32 BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value); internal static BindLightParameterEXT glBindLightParameterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindMaterialParameterEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value); + internal delegate Int32 BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value); internal static BindMaterialParameterEXT glBindMaterialParameterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindMultiTextureEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture); + internal delegate void BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); internal static BindMultiTextureEXT glBindMultiTextureEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindParameterEXT(OpenTK.Graphics.ExtVertexShader value); + internal delegate Int32 BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value); internal static BindParameterEXT glBindParameterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program); + internal delegate void BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program); internal static BindProgramARB glBindProgramARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id); + internal delegate void BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id); internal static BindProgramNV glBindProgramNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer); + internal delegate void BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); internal static BindRenderbuffer glBindRenderbuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindRenderbufferEXT(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer); + internal delegate void BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer); internal static BindRenderbufferEXT glBindRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindTexGenParameterEXT(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value); + internal delegate Int32 BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value); internal static BindTexGenParameterEXT glBindTexGenParameterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture); + internal delegate void BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); internal static BindTexture glBindTexture; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTextureEXT(OpenTK.Graphics.TextureTarget target, UInt32 texture); + internal delegate void BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture); internal static BindTextureEXT glBindTextureEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.ExtVertexShader value); + internal delegate Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value); internal static BindTextureUnitParameterEXT glBindTextureUnitParameterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 target, UInt32 id); + internal delegate void BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id); internal static BindTransformFeedbackNV glBindTransformFeedbackNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BindVertexArray(UInt32 array); @@ -260,7 +260,7 @@ namespace OpenTK.Graphics internal unsafe delegate void Binormal3svEXT(Int16* v); internal unsafe static Binormal3svEXT glBinormal3svEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BinormalPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + internal delegate void BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); internal static BinormalPointerEXT glBinormalPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); @@ -272,112 +272,112 @@ namespace OpenTK.Graphics internal delegate void BlendColorEXT(Single red, Single green, Single blue, Single alpha); internal static BlendColorEXT glBlendColorEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquation(OpenTK.Graphics.BlendEquationMode mode); + internal delegate void BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode); internal static BlendEquation glBlendEquation; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationEXT(OpenTK.Graphics.ExtBlendMinmax mode); + internal delegate void BlendEquationEXT(OpenTK.Graphics.OpenGL.ExtBlendMinmax mode); internal static BlendEquationEXT glBlendEquationEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode); + internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend mode); internal static BlendEquationi glBlendEquationi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode); + internal delegate void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode); internal static BlendEquationIndexedAMD glBlendEquationIndexedAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); + internal delegate void BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); internal static BlendEquationSeparate glBlendEquationSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha); + internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha); internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); + internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha); internal static BlendEquationSeparatei glBlendEquationSeparatei; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha); + internal delegate void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha); internal static BlendEquationSeparateIndexedAMD glBlendEquationSeparateIndexedAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor); + internal delegate void BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor); internal static BlendFunc glBlendFunc; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst); + internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst); internal static BlendFunci glBlendFunci; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst); + internal delegate void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst); internal static BlendFuncIndexedAMD glBlendFuncIndexedAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha); + internal delegate void BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha); internal static BlendFuncSeparate glBlendFuncSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateEXT(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha); + internal delegate void BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha); internal static BlendFuncSeparateEXT glBlendFuncSeparateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha); + internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha); internal static BlendFuncSeparatei glBlendFuncSeparatei; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha); + internal delegate void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha); internal static BlendFuncSeparateIndexedAMD glBlendFuncSeparateIndexedAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlendFuncSeparateINGR(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha); + internal delegate void BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.All sfactorRGB, OpenTK.Graphics.OpenGL.All dfactorRGB, OpenTK.Graphics.OpenGL.All sfactorAlpha, OpenTK.Graphics.OpenGL.All dfactorAlpha); internal static BlendFuncSeparateINGR glBlendFuncSeparateINGR; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter); + internal delegate 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.BlitFramebufferFilter filter); internal static BlitFramebuffer glBlitFramebuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.ExtFramebufferBlit filter); + internal delegate void BlitFramebufferEXT(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); internal static BlitFramebufferEXT glBlitFramebufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage); + internal delegate void BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage); internal static BufferData glBufferData; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage); + internal delegate void BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage); internal static BufferDataARB glBufferDataARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferParameteriAPPLE(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterApple pname, Int32 param); + internal delegate void BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param); internal static BufferParameteriAPPLE glBufferParameteriAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + internal delegate void BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); internal static BufferSubData glBufferSubData; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BufferSubDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); + internal delegate void BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); internal static BufferSubDataARB glBufferSubDataARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CallList(UInt32 list); internal static CallList glCallList; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists); + internal delegate void CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists); internal static CallLists glCallLists; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target); + internal delegate OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target); internal static CheckFramebufferStatus glCheckFramebufferStatus; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.FramebufferTarget target); + internal delegate OpenTK.Graphics.OpenGL.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target); internal static CheckFramebufferStatusEXT glCheckFramebufferStatusEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferTarget target); + internal delegate OpenTK.Graphics.OpenGL.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target); internal static CheckNamedFramebufferStatusEXT glCheckNamedFramebufferStatusEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp); + internal delegate void ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp); internal static ClampColor glClampColor; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClampColorARB(OpenTK.Graphics.ArbColorBufferFloat target, OpenTK.Graphics.ArbColorBufferFloat clamp); + internal delegate void ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp); internal static ClampColorARB glClampColorARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Clear(OpenTK.Graphics.ClearBufferMask mask); + internal delegate void Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask); internal static Clear glClear; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ClearAccum(Single red, Single green, Single blue, Single alpha); internal static ClearAccum glClearAccum; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClearBufferfi(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); + internal delegate void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil); internal static ClearBufferfi glClearBufferfi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferfv(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value); + internal unsafe delegate void ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value); internal unsafe static ClearBufferfv glClearBufferfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value); + internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value); internal unsafe static ClearBufferiv glClearBufferiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); + internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); internal unsafe static ClearBufferuiv glClearBufferuiv; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha); @@ -401,22 +401,22 @@ namespace OpenTK.Graphics internal delegate void ClearStencil(Int32 s); internal static ClearStencil glClearStencil; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture); + internal delegate void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture); internal static ClientActiveTexture glClientActiveTexture; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveTextureARB(OpenTK.Graphics.TextureUnit texture); + internal delegate void ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture); internal static ClientActiveTextureARB glClientActiveTextureARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientActiveVertexStreamATI(OpenTK.Graphics.AtiVertexStreams stream); + internal delegate void ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream); internal static ClientActiveVertexStreamATI glClientActiveVertexStreamATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); + internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); internal static ClientAttribDefaultEXT glClientAttribDefaultEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + internal delegate OpenTK.Graphics.OpenGL.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); internal static ClientWaitSync glClientWaitSync; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation); + internal unsafe delegate void ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation); internal unsafe static ClipPlane glClipPlane; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Color3b(SByte red, SByte green, SByte blue); @@ -551,13 +551,13 @@ namespace OpenTK.Graphics internal unsafe delegate void Color4usv(UInt16* v); internal unsafe static Color4usv glColor4usv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFragmentOp1ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + internal delegate void ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); internal static ColorFragmentOp1ATI glColorFragmentOp1ATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFragmentOp2ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + internal delegate void ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); internal static ColorFragmentOp2ATI glColorFragmentOp2ATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorFragmentOp3ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + internal delegate void ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); internal static ColorFragmentOp3ATI glColorFragmentOp3ATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha); @@ -569,67 +569,67 @@ namespace OpenTK.Graphics internal delegate void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); internal static ColorMaskIndexedEXT glColorMaskIndexedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode); + internal delegate void ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode); internal static ColorMaterial glColorMaterial; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); internal static ColorPointer glColorPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointerEXT(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal delegate void ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); internal static ColorPointerEXT glColorPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointerListIBM(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static ColorPointerListIBM glColorPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + internal delegate void ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); internal static ColorPointervINTEL glColorPointervINTEL; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal delegate void ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); internal static ColorSubTable glColorSubTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + internal delegate void ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data); internal static ColorSubTableEXT glColorSubTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal delegate void ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); internal static ColorTable glColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal delegate void ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); internal static ColorTableEXT glColorTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params); + internal unsafe delegate void ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params); internal unsafe static ColorTableParameterfv glColorTableParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterfvSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single* @params); + internal unsafe delegate void ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params); internal unsafe static ColorTableParameterfvSGI glColorTableParameterfvSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params); + internal unsafe delegate void ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params); internal unsafe static ColorTableParameteriv glColorTableParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ColorTableParameterivSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32* @params); + internal unsafe delegate void ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params); internal unsafe static ColorTableParameterivSGI glColorTableParameterivSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + internal delegate void ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table); internal static ColorTableSGI glColorTableSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerInputNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); + internal delegate void CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); internal static CombinerInputNV glCombinerInputNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerOutputNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners abOutput, OpenTK.Graphics.NvRegisterCombiners cdOutput, OpenTK.Graphics.NvRegisterCombiners sumOutput, OpenTK.Graphics.NvRegisterCombiners scale, OpenTK.Graphics.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); + internal delegate void CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); internal static CombinerOutputNV glCombinerOutputNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerParameterfNV(OpenTK.Graphics.NvRegisterCombiners pname, Single param); + internal delegate void CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param); internal static CombinerParameterfNV glCombinerParameterfNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CombinerParameterfvNV(OpenTK.Graphics.NvRegisterCombiners pname, Single* @params); + internal unsafe delegate void CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params); internal unsafe static CombinerParameterfvNV glCombinerParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CombinerParameteriNV(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param); + internal delegate void CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param); internal static CombinerParameteriNV glCombinerParameteriNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CombinerParameterivNV(OpenTK.Graphics.NvRegisterCombiners pname, Int32* @params); + internal unsafe delegate void CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params); internal unsafe static CombinerParameterivNV glCombinerParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CombinerStageParameterfvNV(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params); + internal unsafe delegate void CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params); internal unsafe static CombinerStageParameterfvNV glCombinerStageParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CompileShader(UInt32 shader); @@ -638,202 +638,202 @@ namespace OpenTK.Graphics internal delegate void CompileShaderARB(UInt32 shaderObj); internal static CompileShaderARB glCompileShaderARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + internal delegate void CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); internal static CompressedMultiTexImage1DEXT glCompressedMultiTexImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + internal delegate void CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); internal static CompressedMultiTexImage2DEXT glCompressedMultiTexImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + internal delegate void CompressedMultiTexImage3DEXT(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, Int32 imageSize, IntPtr bits); internal static CompressedMultiTexImage3DEXT glCompressedMultiTexImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal delegate void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); internal static CompressedMultiTexSubImage1DEXT glCompressedMultiTexSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal delegate void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); internal static CompressedMultiTexSubImage2DEXT glCompressedMultiTexSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal delegate void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); internal static CompressedMultiTexSubImage3DEXT glCompressedMultiTexSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); internal static CompressedTexImage1D glCompressedTexImage1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage1DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); internal static CompressedTexImage1DARB glCompressedTexImage1DARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); internal static CompressedTexImage2D glCompressedTexImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage2DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); internal static CompressedTexImage2DARB glCompressedTexImage2DARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); internal static CompressedTexImage3D glCompressedTexImage3D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexImage3DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); internal static CompressedTexImage3DARB glCompressedTexImage3DARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); internal static CompressedTexSubImage1D glCompressedTexSubImage1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage1DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); internal static CompressedTexSubImage1DARB glCompressedTexSubImage1DARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); internal static CompressedTexSubImage2D glCompressedTexSubImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage2DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); internal static CompressedTexSubImage2DARB glCompressedTexSubImage2DARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); internal static CompressedTexSubImage3D glCompressedTexSubImage3D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTexSubImage3DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + internal delegate void CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data); internal static CompressedTexSubImage3DARB glCompressedTexSubImage3DARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + internal delegate void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); internal static CompressedTextureImage1DEXT glCompressedTextureImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + internal delegate void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); internal static CompressedTextureImage2DEXT glCompressedTextureImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + internal delegate void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); internal static CompressedTextureImage3DEXT glCompressedTextureImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal delegate void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); internal static CompressedTextureSubImage1DEXT glCompressedTextureSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal delegate void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); internal static CompressedTextureSubImage2DEXT glCompressedTextureSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + internal delegate void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits); internal static CompressedTextureSubImage3DEXT glCompressedTextureSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter1D glConvolutionFilter1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter1DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter1DEXT glConvolutionFilter1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter2D glConvolutionFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + internal delegate void ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image); internal static ConvolutionFilter2DEXT glConvolutionFilter2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterf(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params); + internal delegate void ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params); internal static ConvolutionParameterf glConvolutionParameterf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameterfEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params); + internal delegate void ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params); internal static ConvolutionParameterfEXT glConvolutionParameterfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params); + internal unsafe delegate void ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params); internal unsafe static ConvolutionParameterfv glConvolutionParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterfvEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params); + internal unsafe delegate void ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params); internal unsafe static ConvolutionParameterfvEXT glConvolutionParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteri(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params); + internal delegate void ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params); internal static ConvolutionParameteri glConvolutionParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ConvolutionParameteriEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params); + internal delegate void ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params); internal static ConvolutionParameteriEXT glConvolutionParameteriEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params); + internal unsafe delegate void ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params); internal unsafe static ConvolutionParameteriv glConvolutionParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ConvolutionParameterivEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32* @params); + internal unsafe delegate void ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params); internal unsafe static ConvolutionParameterivEXT glConvolutionParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyBufferSubData(OpenTK.Graphics.BufferTarget readTarget, OpenTK.Graphics.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + internal delegate void CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); internal static CopyBufferSubData glCopyBufferSubData; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); internal static CopyColorSubTable glCopyColorSubTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); internal static CopyColorSubTableEXT glCopyColorSubTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyColorTable glCopyColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyColorTableSGI glCopyColorTableSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyConvolutionFilter1D glCopyConvolutionFilter1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter1DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + internal delegate void CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); internal static CopyConvolutionFilter1DEXT glCopyConvolutionFilter1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyConvolutionFilter2D glCopyConvolutionFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyConvolutionFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyConvolutionFilter2DEXT glCopyConvolutionFilter2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal delegate void CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); internal static CopyMultiTexImage1DEXT glCopyMultiTexImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal delegate void CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); internal static CopyMultiTexImage2DEXT glCopyMultiTexImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal delegate void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); internal static CopyMultiTexSubImage1DEXT glCopyMultiTexSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyMultiTexSubImage2DEXT glCopyMultiTexSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyMultiTexSubImage3DEXT glCopyMultiTexSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type); + internal delegate void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type); internal static CopyPixels glCopyPixels; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal delegate void CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); internal static CopyTexImage1D glCopyTexImage1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal delegate void CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); internal static CopyTexImage1DEXT glCopyTexImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal delegate void CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); internal static CopyTexImage2D glCopyTexImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal delegate void CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); internal static CopyTexImage2DEXT glCopyTexImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal delegate void CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); internal static CopyTexSubImage1D glCopyTexSubImage1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal delegate void CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); internal static CopyTexSubImage1DEXT glCopyTexSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyTexSubImage2D glCopyTexSubImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyTexSubImage2DEXT glCopyTexSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyTexSubImage3D glCopyTexSubImage3D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTexSubImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyTexSubImage3DEXT glCopyTexSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + internal delegate void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); internal static CopyTextureImage1DEXT glCopyTextureImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + internal delegate void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); internal static CopyTextureImage2DEXT glCopyTextureImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + internal delegate void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); internal static CopyTextureSubImage1DEXT glCopyTextureSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyTextureSubImage2DEXT glCopyTextureSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + internal delegate void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); internal static CopyTextureSubImage3DEXT glCopyTextureSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Int32 CreateProgram(); @@ -842,28 +842,28 @@ namespace OpenTK.Graphics internal delegate Int32 CreateProgramObjectARB(); internal static CreateProgramObjectARB glCreateProgramObjectARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShader(OpenTK.Graphics.ShaderType type); + internal delegate Int32 CreateShader(OpenTK.Graphics.OpenGL.ShaderType type); internal static CreateShader glCreateShader; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 CreateShaderObjectARB(OpenTK.Graphics.ArbShaderObjects shaderType); + internal delegate Int32 CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType); internal static CreateShaderObjectARB glCreateShaderObjectARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void CullFace(OpenTK.Graphics.CullFaceMode mode); + internal delegate void CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode); internal static CullFace glCullFace; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CullParameterdvEXT(OpenTK.Graphics.ExtCullVertex pname, [Out] Double* @params); + internal unsafe delegate void CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [Out] Double* @params); internal unsafe static CullParameterdvEXT glCullParameterdvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void CullParameterfvEXT(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params); + internal unsafe delegate void CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [Out] Single* @params); internal unsafe static CullParameterfvEXT glCullParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CurrentPaletteMatrixARB(Int32 index); internal static CurrentPaletteMatrixARB glCurrentPaletteMatrixARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeformationMap3dSGIX(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + internal unsafe delegate void DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); internal unsafe static DeformationMap3dSGIX glDeformationMap3dSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DeformationMap3fSGIX(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + internal unsafe delegate void DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); internal unsafe static DeformationMap3fSGIX glDeformationMap3fSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DeformSGIX(UInt32 mask); @@ -956,7 +956,7 @@ namespace OpenTK.Graphics internal delegate void DepthBoundsEXT(Double zmin, Double zmax); internal static DepthBoundsEXT glDepthBoundsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DepthFunc(OpenTK.Graphics.DepthFunction func); + internal delegate void DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func); internal static DepthFunc glDepthFunc; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DepthMask(bool flag); @@ -974,28 +974,28 @@ namespace OpenTK.Graphics internal delegate void DetachShader(UInt32 program, UInt32 shader); internal static DetachShader glDetachShader; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DetailTexFuncSGIS(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points); + internal unsafe delegate void DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); internal unsafe static DetailTexFuncSGIS glDetailTexFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disable(OpenTK.Graphics.EnableCap cap); + internal delegate void Disable(OpenTK.Graphics.OpenGL.EnableCap cap); internal static Disable glDisable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientState(OpenTK.Graphics.EnableCap array); + internal delegate void DisableClientState(OpenTK.Graphics.OpenGL.EnableCap array); internal static DisableClientState glDisableClientState; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableClientStateIndexedEXT(OpenTK.Graphics.EnableCap array, UInt32 index); + internal delegate void DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); internal static DisableClientStateIndexedEXT glDisableClientStateIndexedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disablei(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); + internal delegate void Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); internal static Disablei glDisablei; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + internal delegate void DisableIndexedEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); internal static DisableIndexedEXT glDisableIndexedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DisableVariantClientStateEXT(UInt32 id); internal static DisableVariantClientStateEXT glDisableVariantClientStateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal delegate void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); internal static DisableVertexAttribAPPLE glDisableVertexAttribAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DisableVertexAttribArray(UInt32 index); @@ -1004,79 +1004,79 @@ namespace OpenTK.Graphics internal delegate void DisableVertexAttribArrayARB(UInt32 index); internal static DisableVertexAttribArrayARB glDisableVertexAttribArrayARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + internal delegate void DrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); internal static DrawArrays glDrawArrays; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysEXT(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + internal delegate void DrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); internal static DrawArraysEXT glDrawArraysEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + internal delegate void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); internal static DrawArraysInstanced glDrawArraysInstanced; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + internal delegate void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount); internal static DrawArraysInstancedARB glDrawArraysInstancedARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount); + internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 count, Int32 primcount); internal static DrawArraysInstancedEXT glDrawArraysInstancedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode); + internal delegate void DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode); internal static DrawBuffer glDrawBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs); + internal unsafe delegate void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs); internal unsafe static DrawBuffers glDrawBuffers; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersARB(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs); + internal unsafe delegate void DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs); internal unsafe static DrawBuffersARB glDrawBuffersARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void DrawBuffersATI(Int32 n, OpenTK.Graphics.AtiDrawBuffers* bufs); + internal unsafe delegate void DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs); internal unsafe static DrawBuffersATI glDrawBuffersATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + internal delegate void DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count); internal static DrawElementArrayAPPLE glDrawElementArrayAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementArrayATI(OpenTK.Graphics.BeginMode mode, Int32 count); + internal delegate void DrawElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count); internal static DrawElementArrayATI glDrawElementArrayATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + internal delegate void DrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); internal static DrawElements glDrawElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); internal static DrawElementsBaseVertex glDrawElementsBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal delegate void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstanced glDrawElementsInstanced; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstancedARB glDrawElementsInstancedARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); + internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawMeshArraysSUN(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width); + internal delegate void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 width); internal static DrawMeshArraysSUN glDrawMeshArraysSUN; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static DrawPixels glDrawPixels; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); + internal delegate void DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); internal static DrawRangeElementArrayAPPLE glDrawRangeElementArrayAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementArrayATI(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count); + internal delegate void DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count); internal static DrawRangeElementArrayATI glDrawRangeElementArrayATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); internal static DrawRangeElements glDrawRangeElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); internal static DrawRangeElementsEXT glDrawRangeElementsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id); + internal delegate void DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 mode, UInt32 id); internal static DrawTransformFeedbackNV glDrawTransformFeedbackNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void EdgeFlag(bool flag); @@ -1094,31 +1094,31 @@ namespace OpenTK.Graphics internal unsafe delegate void EdgeFlagv(bool* flag); internal unsafe static EdgeFlagv glEdgeFlagv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ElementPointerAPPLE(OpenTK.Graphics.AppleElementArray type, IntPtr pointer); + internal delegate void ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer); internal static ElementPointerAPPLE glElementPointerAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ElementPointerATI(OpenTK.Graphics.AtiElementArray type, IntPtr pointer); + internal delegate void ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer); internal static ElementPointerATI glElementPointerATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enable(OpenTK.Graphics.EnableCap cap); + internal delegate void Enable(OpenTK.Graphics.OpenGL.EnableCap cap); internal static Enable glEnable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientState(OpenTK.Graphics.EnableCap array); + internal delegate void EnableClientState(OpenTK.Graphics.OpenGL.EnableCap array); internal static EnableClientState glEnableClientState; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableClientStateIndexedEXT(OpenTK.Graphics.EnableCap array, UInt32 index); + internal delegate void EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.EnableCap array, UInt32 index); internal static EnableClientStateIndexedEXT glEnableClientStateIndexedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Enablei(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); + internal delegate void Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); internal static Enablei glEnablei; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + internal delegate void EnableIndexedEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); internal static EnableIndexedEXT glEnableIndexedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void EnableVariantClientStateEXT(UInt32 id); internal static EnableVariantClientStateEXT glEnableVariantClientStateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal delegate void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); internal static EnableVertexAttribAPPLE glEnableVertexAttribAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void EnableVertexAttribArray(UInt32 index); @@ -1148,10 +1148,10 @@ namespace OpenTK.Graphics internal delegate void EndPerfMonitorAMD(UInt32 monitor); internal static EndPerfMonitorAMD glEndPerfMonitorAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQuery(OpenTK.Graphics.QueryTarget target); + internal delegate void EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target); internal static EndQuery glEndQuery; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndQueryARB(OpenTK.Graphics.ArbOcclusionQuery target); + internal delegate void EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target); internal static EndQueryARB glEndQueryARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void EndTransformFeedback(); @@ -1190,13 +1190,13 @@ namespace OpenTK.Graphics internal unsafe delegate void EvalCoord2fv(Single* u); internal unsafe static EvalCoord2fv glEvalCoord2fv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalMapsNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators mode); + internal delegate void EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode); internal static EvalMapsNV glEvalMapsNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2); + internal delegate void EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2); internal static EvalMesh1 glEvalMesh1; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); + internal delegate void EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2); internal static EvalMesh2 glEvalMesh2; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void EvalPoint1(Int32 i); @@ -1205,19 +1205,19 @@ namespace OpenTK.Graphics internal delegate void EvalPoint2(Int32 i, Int32 j); internal static EvalPoint2 glEvalPoint2; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ExecuteProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params); + internal unsafe delegate void ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params); internal unsafe static ExecuteProgramNV glExecuteProgramNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); internal static ExtractComponentEXT glExtractComponentEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer); + internal unsafe delegate void FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [Out] Single* buffer); internal unsafe static FeedbackBuffer glFeedbackBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags); + internal delegate IntPtr FenceSync(OpenTK.Graphics.OpenGL.ArbSync condition, UInt32 flags); internal static FenceSync glFenceSync; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinalCombinerInputNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); + internal delegate void FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage); internal static FinalCombinerInputNV glFinalCombinerInputNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Finish(); @@ -1232,7 +1232,7 @@ namespace OpenTK.Graphics internal delegate void FinishFenceNV(UInt32 fence); internal static FinishFenceNV glFinishFenceNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FinishObjectAPPLE(OpenTK.Graphics.AppleFence @object, Int32 name); + internal delegate void FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name); internal static FinishObjectAPPLE glFinishObjectAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FinishTextureSUNX(); @@ -1241,13 +1241,13 @@ namespace OpenTK.Graphics internal delegate void Flush(); internal static Flush glFlush; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length); + internal delegate void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length); internal static FlushMappedBufferRange glFlushMappedBufferRange; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size); + internal delegate void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size); internal static FlushMappedBufferRangeAPPLE glFlushMappedBufferRangeAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FlushPixelDataRangeNV(OpenTK.Graphics.NvPixelDataRange target); + internal delegate void FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target); internal static FlushPixelDataRangeNV glFlushPixelDataRangeNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FlushRasterSGIX(); @@ -1289,127 +1289,127 @@ namespace OpenTK.Graphics internal unsafe delegate void FogCoordhvNV(OpenTK.Half* fog); internal unsafe static FogCoordhvNV glFogCoordhvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer); + internal delegate void FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer); internal static FogCoordPointer glFogCoordPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointerEXT(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer); + internal delegate void FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer); internal static FogCoordPointerEXT glFogCoordPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FogCoordPointerListIBM(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static FogCoordPointerListIBM glFogCoordPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogf(OpenTK.Graphics.FogParameter pname, Single param); + internal delegate void Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param); internal static Fogf glFogf; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void FogFuncSGIS(Int32 n, Single* points); internal unsafe static FogFuncSGIS glFogFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogfv(OpenTK.Graphics.FogParameter pname, Single* @params); + internal unsafe delegate void Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params); internal unsafe static Fogfv glFogfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Fogi(OpenTK.Graphics.FogParameter pname, Int32 param); + internal delegate void Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param); internal static Fogi glFogi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Fogiv(OpenTK.Graphics.FogParameter pname, Int32* @params); + internal unsafe delegate void Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params); internal unsafe static Fogiv glFogiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentColorMaterialSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode); + internal delegate void FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); internal static FragmentColorMaterialSGIX glFragmentColorMaterialSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightfSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single param); + internal delegate void FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); internal static FragmentLightfSGIX glFragmentLightfSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightfvSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single* @params); + internal unsafe delegate void FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); internal unsafe static FragmentLightfvSGIX glFragmentLightfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightiSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + internal delegate void FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); internal static FragmentLightiSGIX glFragmentLightiSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightivSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params); + internal unsafe delegate void FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); internal unsafe static FragmentLightivSGIX glFragmentLightivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightModelfSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Single param); + internal delegate void FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param); internal static FragmentLightModelfSGIX glFragmentLightModelfSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightModelfvSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Single* @params); + internal unsafe delegate void FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params); internal unsafe static FragmentLightModelfvSGIX glFragmentLightModelfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentLightModeliSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + internal delegate void FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); internal static FragmentLightModeliSGIX glFragmentLightModeliSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentLightModelivSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params); + internal unsafe delegate void FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params); internal unsafe static FragmentLightModelivSGIX glFragmentLightModelivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentMaterialfSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); + internal delegate void FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); internal static FragmentMaterialfSGIX glFragmentMaterialfSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentMaterialfvSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params); + internal unsafe delegate void FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); internal unsafe static FragmentMaterialfvSGIX glFragmentMaterialfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FragmentMaterialiSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param); + internal delegate void FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); internal static FragmentMaterialiSGIX glFragmentMaterialiSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FragmentMaterialivSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params); + internal unsafe delegate void FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); internal unsafe static FragmentMaterialivSGIX glFragmentMaterialivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.DrawBufferMode mode); + internal delegate void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode); internal static FramebufferDrawBufferEXT glFramebufferDrawBufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs); + internal unsafe delegate void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs); internal unsafe static FramebufferDrawBuffersEXT glFramebufferDrawBuffersEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.ReadBufferMode mode); + internal delegate void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode); internal static FramebufferReadBufferEXT glFramebufferReadBufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); internal static FramebufferRenderbuffer glFramebufferRenderbuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferRenderbufferEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal delegate void FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); internal static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level); + internal delegate void FramebufferTexture(OpenTK.Graphics.OpenGL.Version32 target, OpenTK.Graphics.OpenGL.Version32 attachment, UInt32 texture, Int32 level); internal static FramebufferTexture glFramebufferTexture; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal delegate void FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); internal static FramebufferTexture1D glFramebufferTexture1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture1DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal delegate void FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); internal static FramebufferTexture1DEXT glFramebufferTexture1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal delegate void FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); internal static FramebufferTexture2D glFramebufferTexture2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture2DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal delegate void FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); internal static FramebufferTexture2DEXT glFramebufferTexture2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal delegate void FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); internal static FramebufferTexture3D glFramebufferTexture3D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTexture3DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal delegate void FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); internal static FramebufferTexture3DEXT glFramebufferTexture3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal delegate void FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); internal static FramebufferTextureARB glFramebufferTextureARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal delegate void FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); internal static FramebufferTextureEXT glFramebufferTextureEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face); + internal delegate void FramebufferTextureFace(OpenTK.Graphics.OpenGL.Version32 target, OpenTK.Graphics.OpenGL.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.Version32 face); internal static FramebufferTextureFace glFramebufferTextureFace; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureFaceARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + internal delegate void FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); internal static FramebufferTextureFaceARB glFramebufferTextureFaceARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureFaceEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + internal delegate void FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); internal static FramebufferTextureFaceEXT glFramebufferTextureFaceEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal delegate void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); internal static FramebufferTextureLayer glFramebufferTextureLayer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayerARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal delegate void FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); internal static FramebufferTextureLayerARB glFramebufferTextureLayerARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FramebufferTextureLayerEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal delegate void FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); internal static FramebufferTextureLayerEXT glFramebufferTextureLayerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FrameTerminatorGREMEDY(); @@ -1421,7 +1421,7 @@ namespace OpenTK.Graphics internal delegate void FreeObjectBufferATI(UInt32 buffer); internal static FreeObjectBufferATI glFreeObjectBufferATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void FrontFace(OpenTK.Graphics.FrontFaceDirection mode); + internal delegate void FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode); internal static FrontFace glFrontFace; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); @@ -1436,16 +1436,16 @@ namespace OpenTK.Graphics internal unsafe delegate void GenBuffersARB(Int32 n, [Out] UInt32* buffers); internal unsafe static GenBuffersARB glGenBuffersARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target); + internal delegate void GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); internal static GenerateMipmap glGenerateMipmap; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMipmapEXT(OpenTK.Graphics.GenerateMipmapTarget target); + internal delegate void GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target); internal static GenerateMipmapEXT glGenerateMipmapEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateMultiTexMipmapEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target); + internal delegate void GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target); internal static GenerateMultiTexMipmapEXT glGenerateMultiTexMipmapEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target); + internal delegate void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target); internal static GenerateTextureMipmapEXT glGenerateTextureMipmapEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GenFencesAPPLE(Int32 n, [Out] UInt32* fences); @@ -1490,7 +1490,7 @@ namespace OpenTK.Graphics internal unsafe delegate void GenRenderbuffersEXT(Int32 n, [Out] UInt32* renderbuffers); internal unsafe static GenRenderbuffersEXT glGenRenderbuffersEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GenSymbolsEXT(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components); + internal delegate Int32 GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components); internal static GenSymbolsEXT glGenSymbolsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GenTextures(Int32 n, [Out] UInt32* textures); @@ -1511,19 +1511,19 @@ namespace OpenTK.Graphics internal delegate Int32 GenVertexShadersEXT(UInt32 range); internal static GenVertexShadersEXT glGenVertexShadersEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [Out] System.Text.StringBuilder name); internal unsafe static GetActiveAttrib glGetActiveAttrib; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [Out] System.Text.StringBuilder name); internal unsafe static GetActiveAttribARB glGetActiveAttribARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [Out] System.Text.StringBuilder name); internal unsafe static GetActiveUniform glGetActiveUniform; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [Out] System.Text.StringBuilder name); internal unsafe static GetActiveUniformARB glGetActiveUniformARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params); + internal unsafe delegate void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ArbUniformBufferObject pname, [Out] Int32* @params); internal unsafe static GetActiveUniformBlockiv glGetActiveUniformBlockiv; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName); @@ -1532,16 +1532,16 @@ namespace OpenTK.Graphics internal unsafe delegate void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName); internal unsafe static GetActiveUniformName glGetActiveUniformName; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params); + internal unsafe delegate void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ArbUniformBufferObject pname, [Out] Int32* @params); internal unsafe static GetActiveUniformsiv glGetActiveUniformsiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [Out] System.Text.StringBuilder name); internal unsafe static GetActiveVaryingNV glGetActiveVaryingNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetArrayObjectfvATI(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + internal unsafe delegate void GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Single* @params); internal unsafe static GetArrayObjectfvATI glGetArrayObjectfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetArrayObjectivATI(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + internal unsafe delegate void GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Int32* @params); internal unsafe static GetArrayObjectivATI glGetArrayObjectivATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); @@ -1556,136 +1556,136 @@ namespace OpenTK.Graphics internal delegate Int32 GetAttribLocationARB(UInt32 programObj, String name); internal static GetAttribLocationARB glGetAttribLocationARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleani_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data); + internal unsafe delegate void GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [Out] bool* data); internal unsafe static GetBooleani_v glGetBooleani_v; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanIndexedvEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data); + internal unsafe delegate void GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data); internal unsafe static GetBooleanIndexedvEXT glGetBooleanIndexedvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBooleanv(OpenTK.Graphics.GetPName pname, [Out] bool* @params); + internal unsafe delegate void GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [Out] bool* @params); internal unsafe static GetBooleanv glGetBooleanv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params); + internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.OpenGL.Version32 target, OpenTK.Graphics.OpenGL.Version32 pname, [Out] Int64* @params); internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [Out] Int32* @params); internal unsafe static GetBufferParameteriv glGetBufferParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetBufferParameterivARB(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params); + internal unsafe delegate void GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [Out] Int32* @params); internal unsafe static GetBufferParameterivARB glGetBufferParameterivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointerv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params); + internal delegate void GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [Out] IntPtr @params); internal static GetBufferPointerv glGetBufferPointerv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferPointervARB(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params); + internal delegate void GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [Out] IntPtr @params); internal static GetBufferPointervARB glGetBufferPointervARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data); + internal delegate void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data); internal static GetBufferSubData glGetBufferSubData; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetBufferSubDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data); + internal delegate void GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data); internal static GetBufferSubDataARB glGetBufferSubDataARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation); + internal unsafe delegate void GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [Out] Double* equation); internal unsafe static GetClipPlane glGetClipPlane; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + internal delegate void GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr table); internal static GetColorTable glGetColorTable; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data); + internal delegate void GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr data); internal static GetColorTableEXT glGetColorTableEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); + internal unsafe delegate void GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Single* @params); internal unsafe static GetColorTableParameterfv glGetColorTableParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); + internal unsafe delegate void GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Single* @params); internal unsafe static GetColorTableParameterfvEXT glGetColorTableParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterfvSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single* @params); + internal unsafe delegate void GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [Out] Single* @params); internal unsafe static GetColorTableParameterfvSGI glGetColorTableParameterfvSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); + internal unsafe delegate void GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Int32* @params); internal unsafe static GetColorTableParameteriv glGetColorTableParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); + internal unsafe delegate void GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [Out] Int32* @params); internal unsafe static GetColorTableParameterivEXT glGetColorTableParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetColorTableParameterivSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32* @params); + internal unsafe delegate void GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [Out] Int32* @params); internal unsafe static GetColorTableParameterivSGI glGetColorTableParameterivSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + internal delegate void GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr table); internal static GetColorTableSGI glGetColorTableSGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerInputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + internal unsafe delegate void GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Single* @params); internal unsafe static GetCombinerInputParameterfvNV glGetCombinerInputParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerInputParameterivNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + internal unsafe delegate void GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Int32* @params); internal unsafe static GetCombinerInputParameterivNV glGetCombinerInputParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerOutputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + internal unsafe delegate void GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Single* @params); internal unsafe static GetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerOutputParameterivNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + internal unsafe delegate void GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Int32* @params); internal unsafe static GetCombinerOutputParameterivNV glGetCombinerOutputParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetCombinerStageParameterfvNV(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params); + internal unsafe delegate void GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [Out] Single* @params); internal unsafe static GetCombinerStageParameterfvNV glGetCombinerStageParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedMultiTexImageEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img); + internal delegate void GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [Out] IntPtr img); internal static GetCompressedMultiTexImageEXT glGetCompressedMultiTexImageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img); + internal delegate void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [Out] IntPtr img); internal static GetCompressedTexImage glGetCompressedTexImage; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTexImageARB(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img); + internal delegate void GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [Out] IntPtr img); internal static GetCompressedTexImageARB glGetCompressedTexImageARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img); + internal delegate void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [Out] IntPtr img); internal static GetCompressedTextureImageEXT glGetCompressedTextureImageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + internal delegate void GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr image); internal static GetConvolutionFilter glGetConvolutionFilter; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetConvolutionFilterEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + internal delegate void GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr image); internal static GetConvolutionFilterEXT glGetConvolutionFilterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); + internal unsafe delegate void GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Single* @params); internal unsafe static GetConvolutionParameterfv glGetConvolutionParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterfvEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single* @params); + internal unsafe delegate void GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [Out] Single* @params); internal unsafe static GetConvolutionParameterfvEXT glGetConvolutionParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); + internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Int32* @params); internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetConvolutionParameterivEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32* @params); + internal unsafe delegate void GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [Out] Int32* @params); internal unsafe static GetConvolutionParameterivEXT glGetConvolutionParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDetailTexFuncSGIS(OpenTK.Graphics.TextureTarget target, [Out] Single* points); + internal unsafe delegate void GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [Out] Single* points); internal unsafe static GetDetailTexFuncSGIS glGetDetailTexFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoubleIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* data); + internal unsafe delegate void GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Double* data); internal unsafe static GetDoubleIndexedvEXT glGetDoubleIndexedvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetDoublev(OpenTK.Graphics.GetPName pname, [Out] Double* @params); + internal unsafe delegate void GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [Out] Double* @params); internal unsafe static GetDoublev glGetDoublev; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate OpenTK.Graphics.ErrorCode GetError(); + internal delegate OpenTK.Graphics.OpenGL.ErrorCode GetError(); internal static GetError glGetError; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params); + internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [Out] Int32* @params); internal unsafe static GetFenceivNV glGetFenceivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + internal unsafe delegate void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Single* @params); internal unsafe static GetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + internal unsafe delegate void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [Out] Int32* @params); internal unsafe static GetFinalCombinerInputParameterivNV glGetFinalCombinerInputParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* data); + internal unsafe delegate void GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Single* data); internal unsafe static GetFloatIndexedvEXT glGetFloatIndexedvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFloatv(OpenTK.Graphics.GetPName pname, [Out] Single* @params); + internal unsafe delegate void GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [Out] Single* @params); internal unsafe static GetFloatv glGetFloatv; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetFogFuncSGIS([Out] Single* points); @@ -1697,52 +1697,52 @@ namespace OpenTK.Graphics internal delegate Int32 GetFragDataLocationEXT(UInt32 program, String name); internal static GetFragDataLocationEXT glGetFragDataLocationEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentLightfvSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single* @params); + internal unsafe delegate void GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [Out] Single* @params); internal unsafe static GetFragmentLightfvSGIX glGetFragmentLightfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentLightivSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params); + internal unsafe delegate void GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [Out] Int32* @params); internal unsafe static GetFragmentLightivSGIX glGetFragmentLightivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentMaterialfvSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params); + internal unsafe delegate void GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Single* @params); internal unsafe static GetFragmentMaterialfvSGIX glGetFragmentMaterialfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFragmentMaterialivSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Int32* @params); internal unsafe static GetFragmentMaterialivSGIX glGetFragmentMaterialivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [Out] Int32* @params); internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [Out] Int32* @params); internal unsafe static GetFramebufferAttachmentParameterivEXT glGetFramebufferAttachmentParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal unsafe delegate void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); internal unsafe static GetFramebufferParameterivEXT glGetFramebufferParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetHandleARB(OpenTK.Graphics.ArbShaderObjects pname); + internal delegate Int32 GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname); internal static GetHandleARB glGetHandleARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal delegate void GetHistogram(OpenTK.Graphics.OpenGL.Version12Deprecated target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); internal static GetHistogram glGetHistogram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetHistogramEXT(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal delegate void GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); internal static GetHistogramEXT glGetHistogramEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterfv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); + internal unsafe delegate void GetHistogramParameterfv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Single* @params); internal unsafe static GetHistogramParameterfv glGetHistogramParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterfvEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params); + internal unsafe delegate void GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Single* @params); internal unsafe static GetHistogramParameterfvEXT glGetHistogramParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameteriv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); + internal unsafe delegate void GetHistogramParameteriv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Int32* @params); internal unsafe static GetHistogramParameteriv glGetHistogramParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetHistogramParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); + internal unsafe delegate void GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Int32* @params); internal unsafe static GetHistogramParameterivEXT glGetHistogramParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params); + internal unsafe delegate void GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [Out] Single* @params); internal unsafe static GetImageTransformParameterfvHP glGetImageTransformParameterfvHP; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetImageTransformParameterivHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32* @params); + internal unsafe delegate void GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [Out] Int32* @params); internal unsafe static GetImageTransformParameterivHP glGetImageTransformParameterivHP; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); @@ -1751,199 +1751,199 @@ namespace OpenTK.Graphics internal delegate Int32 GetInstrumentsSGIX(); internal static GetInstrumentsSGIX glGetInstrumentsSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data); + internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.OpenGL.Version32 target, UInt32 index, [Out] Int64* data); internal unsafe static GetInteger64i_v glGetInteger64i_v; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInteger64v(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params); + internal unsafe delegate void GetInteger64v(OpenTK.Graphics.OpenGL.ArbSync pname, [Out] Int64* @params); internal unsafe static GetInteger64v glGetInteger64v; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data); + internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [Out] Int32* data); internal unsafe static GetIntegeri_v glGetIntegeri_v; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerIndexedvEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data); + internal unsafe delegate void GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data); internal unsafe static GetIntegerIndexedvEXT glGetIntegerIndexedvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetIntegerv(OpenTK.Graphics.GetPName pname, [Out] Int32* @params); + internal unsafe delegate void GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [Out] Int32* @params); internal unsafe static GetIntegerv glGetIntegerv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + internal unsafe delegate void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] bool* data); internal unsafe static GetInvariantBooleanvEXT glGetInvariantBooleanvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + internal unsafe delegate void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Single* data); internal unsafe static GetInvariantFloatvEXT glGetInvariantFloatvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + internal unsafe delegate void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Int32* data); internal unsafe static GetInvariantIntegervEXT glGetInvariantIntegervEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightfv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params); + internal unsafe delegate void GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [Out] Single* @params); internal unsafe static GetLightfv glGetLightfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLightiv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [Out] Int32* @params); internal unsafe static GetLightiv glGetLightiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params); + internal unsafe delegate void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [Out] Single* @params); internal unsafe static GetListParameterfvSGIX glGetListParameterfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [Out] Int32* @params); internal unsafe static GetListParameterivSGIX glGetListParameterivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + internal unsafe delegate void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] bool* data); internal unsafe static GetLocalConstantBooleanvEXT glGetLocalConstantBooleanvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + internal unsafe delegate void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Single* data); internal unsafe static GetLocalConstantFloatvEXT glGetLocalConstantFloatvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + internal unsafe delegate void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Int32* data); internal unsafe static GetLocalConstantIntegervEXT glGetLocalConstantIntegervEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapAttribParameterfvNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params); + internal unsafe delegate void GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Single* @params); internal unsafe static GetMapAttribParameterfvNV glGetMapAttribParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapAttribParameterivNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params); + internal unsafe delegate void GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Int32* @params); internal unsafe static GetMapAttribParameterivNV glGetMapAttribParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMapControlPointsNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points); + internal delegate void GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points); internal static GetMapControlPointsNV glGetMapControlPointsNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapdv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v); + internal unsafe delegate void GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [Out] Double* v); internal unsafe static GetMapdv glGetMapdv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapfv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single* v); + internal unsafe delegate void GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [Out] Single* v); internal unsafe static GetMapfv glGetMapfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapiv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v); + internal unsafe delegate void GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [Out] Int32* v); internal unsafe static GetMapiv glGetMapiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapParameterfvNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params); + internal unsafe delegate void GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Single* @params); internal unsafe static GetMapParameterfvNV glGetMapParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params); + internal unsafe delegate void GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [Out] Int32* @params); internal unsafe static GetMapParameterivNV glGetMapParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params); + internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Single* @params); internal unsafe static GetMaterialfv glGetMaterialfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMaterialiv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [Out] Int32* @params); internal unsafe static GetMaterialiv glGetMaterialiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal delegate void GetMinmax(OpenTK.Graphics.OpenGL.Version12Deprecated target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); internal static GetMinmax glGetMinmax; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMinmaxEXT(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + internal delegate void GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr values); internal static GetMinmaxEXT glGetMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterfv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); + internal unsafe delegate void GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Single* @params); internal unsafe static GetMinmaxParameterfv glGetMinmaxParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterfvEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params); + internal unsafe delegate void GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Single* @params); internal unsafe static GetMinmaxParameterfvEXT glGetMinmaxParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameteriv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); + internal unsafe delegate void GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.Version12Deprecated pname, [Out] Int32* @params); internal unsafe static GetMinmaxParameteriv glGetMinmaxParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); + internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [Out] Int32* @params); internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val); + internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.OpenGL.ArbTextureMultisample pname, UInt32 index, [Out] Single* val); internal unsafe static GetMultisamplefv glGetMultisamplefv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultisamplefvNV(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val); + internal unsafe delegate void GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [Out] Single* val); internal unsafe static GetMultisamplefvNV glGetMultisamplefvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexEnvfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params); + internal unsafe delegate void GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Single* @params); internal unsafe static GetMultiTexEnvfvEXT glGetMultiTexEnvfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexEnvivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Int32* @params); internal unsafe static GetMultiTexEnvivEXT glGetMultiTexEnvivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexGendvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params); + internal unsafe delegate void GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Double* @params); internal unsafe static GetMultiTexGendvEXT glGetMultiTexGendvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexGenfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params); + internal unsafe delegate void GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Single* @params); internal unsafe static GetMultiTexGenfvEXT glGetMultiTexGenfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexGenivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Int32* @params); internal unsafe static GetMultiTexGenivEXT glGetMultiTexGenivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetMultiTexImageEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal delegate void GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); internal static GetMultiTexImageEXT glGetMultiTexImageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal unsafe delegate void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); internal unsafe static GetMultiTexLevelParameterfvEXT glGetMultiTexLevelParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetMultiTexLevelParameterivEXT glGetMultiTexLevelParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal unsafe delegate void GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); internal unsafe static GetMultiTexParameterfvEXT glGetMultiTexParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterIivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetMultiTexParameterIivEXT glGetMultiTexParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterIuivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal unsafe delegate void GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); internal unsafe static GetMultiTexParameterIuivEXT glGetMultiTexParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetMultiTexParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetMultiTexParameterivEXT glGetMultiTexParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal unsafe delegate void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); internal unsafe static GetNamedBufferParameterivEXT glGetNamedBufferParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params); + internal delegate void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] IntPtr @params); internal static GetNamedBufferPointervEXT glGetNamedBufferPointervEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data); internal static GetNamedBufferSubDataEXT glGetNamedBufferSubDataEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal unsafe delegate void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); internal unsafe static GetNamedFramebufferAttachmentParameterivEXT glGetNamedFramebufferAttachmentParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + internal unsafe delegate void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] Int32* @params); internal unsafe static GetNamedProgramivEXT glGetNamedProgramivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params); + internal unsafe delegate void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params); internal unsafe static GetNamedProgramLocalParameterdvEXT glGetNamedProgramLocalParameterdvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params); + internal unsafe delegate void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params); internal unsafe static GetNamedProgramLocalParameterfvEXT glGetNamedProgramLocalParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params); + internal unsafe delegate void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params); internal unsafe static GetNamedProgramLocalParameterIivEXT glGetNamedProgramLocalParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params); + internal unsafe delegate void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params); internal unsafe static GetNamedProgramLocalParameterIuivEXT glGetNamedProgramLocalParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string); + internal delegate void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [Out] IntPtr @string); internal static GetNamedProgramStringEXT glGetNamedProgramStringEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [Out] Int32* @params); internal unsafe static GetNamedRenderbufferParameterivEXT glGetNamedRenderbufferParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + internal unsafe delegate void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Single* @params); internal unsafe static GetObjectBufferfvATI glGetObjectBufferfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + internal unsafe delegate void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Int32* @params); internal unsafe static GetObjectBufferivATI glGetObjectBufferivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params); + internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [Out] Single* @params); internal unsafe static GetObjectParameterfvARB glGetObjectParameterfvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectParameterivAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params); + internal unsafe delegate void GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [Out] Int32* @params); internal unsafe static GetObjectParameterivAPPLE glGetObjectParameterivAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params); + internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [Out] Int32* @params); internal unsafe static GetObjectParameterivARB glGetObjectParameterivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params); + internal unsafe delegate void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [Out] Int32* @params); internal unsafe static GetOcclusionQueryivNV glGetOcclusionQueryivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32* @params); + internal unsafe delegate void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [Out] UInt32* @params); internal unsafe static GetOcclusionQueryuivNV glGetOcclusionQueryuivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten); + internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten); internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data); + internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [Out] IntPtr data); internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters); @@ -1958,67 +1958,67 @@ namespace OpenTK.Graphics internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString); internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapfv(OpenTK.Graphics.PixelMap map, [Out] Single* values); + internal unsafe delegate void GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [Out] Single* values); internal unsafe static GetPixelMapfv glGetPixelMapfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapuiv(OpenTK.Graphics.PixelMap map, [Out] UInt32* values); + internal unsafe delegate void GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [Out] UInt32* values); internal unsafe static GetPixelMapuiv glGetPixelMapuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelMapusv(OpenTK.Graphics.PixelMap map, [Out] UInt16* values); + internal unsafe delegate void GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [Out] UInt16* values); internal unsafe static GetPixelMapusv glGetPixelMapusv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single* @params); + internal unsafe delegate void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [Out] Single* @params); internal unsafe static GetPixelTexGenParameterfvSGIS glGetPixelTexGenParameterfvSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32* @params); + internal unsafe delegate void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [Out] Int32* @params); internal unsafe static GetPixelTexGenParameterivSGIS glGetPixelTexGenParameterivSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data); + internal delegate void GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data); internal static GetPointerIndexedvEXT glGetPointerIndexedvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointerv(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params); + internal delegate void GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [Out] IntPtr @params); internal static GetPointerv glGetPointerv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetPointervEXT(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params); + internal delegate void GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [Out] IntPtr @params); internal static GetPointervEXT glGetPointervEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetPolygonStipple([Out] Byte* mask); internal unsafe static GetPolygonStipple glGetPolygonStipple; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterdvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params); + internal unsafe delegate void GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Double* @params); internal unsafe static GetProgramEnvParameterdvARB glGetProgramEnvParameterdvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterfvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params); + internal unsafe delegate void GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Single* @params); internal unsafe static GetProgramEnvParameterfvARB glGetProgramEnvParameterfvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterIivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); + internal unsafe delegate void GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); internal unsafe static GetProgramEnvParameterIivNV glGetProgramEnvParameterIivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramEnvParameterIuivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); + internal unsafe delegate void GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); internal unsafe static GetProgramEnvParameterIuivNV glGetProgramEnvParameterIuivNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); internal unsafe static GetProgramInfoLog glGetProgramInfoLog; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [Out] Int32* @params); internal unsafe static GetProgramiv glGetProgramiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramivARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params); + internal unsafe delegate void GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Int32* @params); internal unsafe static GetProgramivARB glGetProgramivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramivNV(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params); + internal unsafe delegate void GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Int32* @params); internal unsafe static GetProgramivNV glGetProgramivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterdvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params); + internal unsafe delegate void GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Double* @params); internal unsafe static GetProgramLocalParameterdvARB glGetProgramLocalParameterdvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterfvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params); + internal unsafe delegate void GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [Out] Single* @params); internal unsafe static GetProgramLocalParameterfvARB glGetProgramLocalParameterfvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterIivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); + internal unsafe delegate void GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); internal unsafe static GetProgramLocalParameterIivNV glGetProgramLocalParameterIivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramLocalParameterIuivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); + internal unsafe delegate void GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); internal unsafe static GetProgramLocalParameterIuivNV glGetProgramLocalParameterIuivNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [Out] Double* @params); @@ -2027,58 +2027,58 @@ namespace OpenTK.Graphics internal unsafe delegate void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [Out] Single* @params); internal unsafe static GetProgramNamedParameterfvNV glGetProgramNamedParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramParameterdvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params); + internal unsafe delegate void GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Double* @params); internal unsafe static GetProgramParameterdvNV glGetProgramParameterdvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramParameterfvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params); + internal unsafe delegate void GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Single* @params); internal unsafe static GetProgramParameterfvNV glGetProgramParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetProgramStringARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string); + internal delegate void GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] IntPtr @string); internal static GetProgramStringARB glGetProgramStringARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramStringNV(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program); + internal unsafe delegate void GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Byte* program); internal unsafe static GetProgramStringNV glGetProgramStringNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryiv(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params); + internal unsafe delegate void GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [Out] Int32* @params); internal unsafe static GetQueryiv glGetQueryiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryivARB(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params); + internal unsafe delegate void GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [Out] Int32* @params); internal unsafe static GetQueryivARB glGetQueryivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params); + internal unsafe delegate void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [Out] Int64* @params); internal unsafe static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params); + internal unsafe delegate void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [Out] Int32* @params); internal unsafe static GetQueryObjectiv glGetQueryObjectiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params); + internal unsafe delegate void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [Out] Int32* @params); internal unsafe static GetQueryObjectivARB glGetQueryObjectivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64* @params); + internal unsafe delegate void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [Out] UInt64* @params); internal unsafe static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params); + internal unsafe delegate void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [Out] UInt32* @params); internal unsafe static GetQueryObjectuiv glGetQueryObjectuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32* @params); + internal unsafe delegate void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [Out] UInt32* @params); internal unsafe static GetQueryObjectuivARB glGetQueryObjectuivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [Out] Int32* @params); internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetRenderbufferParameterivEXT(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + internal unsafe delegate void GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [Out] Int32* @params); internal unsafe static GetRenderbufferParameterivEXT glGetRenderbufferParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); + internal delegate void GetSeparableFilter(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); internal static GetSeparableFilter glGetSeparableFilter; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetSeparableFilterEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); + internal delegate void GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); internal static GetSeparableFilterEXT glGetSeparableFilterEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); internal unsafe static GetShaderInfoLog glGetShaderInfoLog; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [Out] Int32* @params); internal unsafe static GetShaderiv glGetShaderiv; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source); @@ -2087,100 +2087,100 @@ namespace OpenTK.Graphics internal unsafe delegate void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source); internal unsafe static GetShaderSourceARB glGetShaderSourceARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSharpenTexFuncSGIS(OpenTK.Graphics.TextureTarget target, [Out] Single* points); + internal unsafe delegate void GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [Out] Single* points); internal unsafe static GetSharpenTexFuncSGIS glGetSharpenTexFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.StringName name); + internal delegate IntPtr GetString(OpenTK.Graphics.OpenGL.StringName name); internal static GetString glGetString; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetStringi(OpenTK.Graphics.StringName name, UInt32 index); + internal delegate IntPtr GetStringi(OpenTK.Graphics.OpenGL.StringName name, UInt32 index); internal static GetStringi glGetStringi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values); + internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values); internal unsafe static GetSynciv glGetSynciv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param); + internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [Out] Single* param); internal unsafe static GetTexBumpParameterfvATI glGetTexBumpParameterfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexBumpParameterivATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32* param); + internal unsafe delegate void GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [Out] Int32* param); internal unsafe static GetTexBumpParameterivATI glGetTexBumpParameterivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params); + internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Single* @params); internal unsafe static GetTexEnvfv glGetTexEnvfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [Out] Int32* @params); internal unsafe static GetTexEnviv glGetTexEnviv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexFilterFuncSGIS(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single* weights); + internal unsafe delegate void GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [Out] Single* weights); internal unsafe static GetTexFilterFuncSGIS glGetTexFilterFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGendv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params); + internal unsafe delegate void GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Double* @params); internal unsafe static GetTexGendv glGetTexGendv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGenfv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params); + internal unsafe delegate void GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Single* @params); internal unsafe static GetTexGenfv glGetTexGenfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexGeniv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [Out] Int32* @params); internal unsafe static GetTexGeniv glGetTexGeniv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal delegate void GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); internal static GetTexImage glGetTexImage; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameterfv(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal unsafe delegate void GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); internal unsafe static GetTexLevelParameterfv glGetTexLevelParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexLevelParameteriv(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTexLevelParameteriv glGetTexLevelParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); internal unsafe static GetTexParameterfv glGetTexParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTexParameterIiv glGetTexParameterIiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTexParameterIivEXT glGetTexParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIuiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal unsafe delegate void GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); internal unsafe static GetTexParameterIuiv glGetTexParameterIuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameterIuivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal unsafe delegate void GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); internal unsafe static GetTexParameterIuivEXT glGetTexParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTexParameteriv glGetTexParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTexParameterPointervAPPLE(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params); + internal delegate void GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [Out] IntPtr @params); internal static GetTexParameterPointervAPPLE glGetTexParameterPointervAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal delegate void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); internal static GetTextureImageEXT glGetTextureImageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal unsafe delegate void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); internal unsafe static GetTextureLevelParameterfvEXT glGetTextureLevelParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTextureLevelParameterivEXT glGetTextureLevelParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + internal unsafe delegate void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Single* @params); internal unsafe static GetTextureParameterfvEXT glGetTextureParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTextureParameterIivEXT glGetTextureParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + internal unsafe delegate void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] UInt32* @params); internal unsafe static GetTextureParameterIuivEXT glGetTextureParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTextureParameterivEXT glGetTextureParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTrackMatrixivNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params); + internal unsafe delegate void GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [Out] Int32* @params); internal unsafe static GetTrackMatrixivNV glGetTrackMatrixivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [Out] System.Text.StringBuilder name); internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name); + internal unsafe delegate void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name); internal unsafe static GetTransformFeedbackVaryingEXT glGetTransformFeedbackVaryingEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] Int32* location); @@ -2222,91 +2222,91 @@ namespace OpenTK.Graphics internal unsafe delegate void GetUniformuivEXT(UInt32 program, Int32 location, [Out] UInt32* @params); internal unsafe static GetUniformuivEXT glGetUniformuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + internal unsafe delegate void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Single* @params); internal unsafe static GetVariantArrayObjectfvATI glGetVariantArrayObjectfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + internal unsafe delegate void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [Out] Int32* @params); internal unsafe static GetVariantArrayObjectivATI glGetVariantArrayObjectivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + internal unsafe delegate void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] bool* data); internal unsafe static GetVariantBooleanvEXT glGetVariantBooleanvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + internal unsafe delegate void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Single* data); internal unsafe static GetVariantFloatvEXT glGetVariantFloatvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + internal unsafe delegate void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] Int32* data); internal unsafe static GetVariantIntegervEXT glGetVariantIntegervEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data); + internal delegate void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [Out] IntPtr data); internal static GetVariantPointervEXT glGetVariantPointervEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate Int32 GetVaryingLocationNV(UInt32 program, String name); internal static GetVaryingLocationNV glGetVaryingLocationNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params); + internal unsafe delegate void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [Out] Single* @params); internal unsafe static GetVertexAttribArrayObjectfvATI glGetVertexAttribArrayObjectfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params); + internal unsafe delegate void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [Out] Int32* @params); internal unsafe static GetVertexAttribArrayObjectivATI glGetVertexAttribArrayObjectivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params); + internal unsafe delegate void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Double* @params); internal unsafe static GetVertexAttribdv glGetVertexAttribdv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params); + internal unsafe delegate void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [Out] Double* @params); internal unsafe static GetVertexAttribdvARB glGetVertexAttribdvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params); + internal unsafe delegate void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Double* @params); internal unsafe static GetVertexAttribdvNV glGetVertexAttribdvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params); + internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Single* @params); internal unsafe static GetVertexAttribfv glGetVertexAttribfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params); + internal unsafe delegate void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [Out] Single* @params); internal unsafe static GetVertexAttribfvARB glGetVertexAttribfvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params); + internal unsafe delegate void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Single* @params); internal unsafe static GetVertexAttribfvNV glGetVertexAttribfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Int32* @params); internal unsafe static GetVertexAttribIiv glGetVertexAttribIiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params); + internal unsafe delegate void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [Out] Int32* @params); internal unsafe static GetVertexAttribIivEXT glGetVertexAttribIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] UInt32* @params); + internal unsafe delegate void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] UInt32* @params); internal unsafe static GetVertexAttribIuiv glGetVertexAttribIuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] UInt32* @params); + internal unsafe delegate void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [Out] UInt32* @params); internal unsafe static GetVertexAttribIuivEXT glGetVertexAttribIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params); + internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [Out] Int32* @params); internal unsafe static GetVertexAttribiv glGetVertexAttribiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params); + internal unsafe delegate void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [Out] Int32* @params); internal unsafe static GetVertexAttribivARB glGetVertexAttribivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params); + internal unsafe delegate void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] Int32* @params); internal unsafe static GetVertexAttribivNV glGetVertexAttribivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer); + internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerType pname, [Out] IntPtr pointer); internal static GetVertexAttribPointerv glGetVertexAttribPointerv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer); + internal delegate void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer); internal static GetVertexAttribPointervARB glGetVertexAttribPointervARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer); + internal delegate void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [Out] IntPtr pointer); internal static GetVertexAttribPointervNV glGetVertexAttribPointervNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params); + internal unsafe delegate void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] Int64* @params); internal unsafe static GetVideoi64vNV glGetVideoi64vNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params); + internal unsafe delegate void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] Int32* @params); internal unsafe static GetVideoivNV glGetVideoivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params); + internal unsafe delegate void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] UInt64* @params); internal unsafe static GetVideoui64vNV glGetVideoui64vNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params); + internal unsafe delegate void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [Out] UInt32* @params); internal unsafe static GetVideouivNV glGetVideouivNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void GlobalAlphaFactorbSUN(SByte factor); @@ -2333,31 +2333,31 @@ namespace OpenTK.Graphics internal delegate void GlobalAlphaFactorusSUN(UInt16 factor); internal static GlobalAlphaFactorusSUN glGlobalAlphaFactorusSUN; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode); + internal delegate void Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode); internal static Hint glHint; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void HintPGI(OpenTK.Graphics.PgiMiscHints target, Int32 mode); + internal delegate void HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode); internal static HintPGI glHintPGI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal delegate void Histogram(OpenTK.Graphics.OpenGL.Version12Deprecated target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static Histogram glHistogram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void HistogramEXT(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal delegate void HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static HistogramEXT glHistogramEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IglooInterfaceSGIX(OpenTK.Graphics.All pname, IntPtr @params); + internal delegate void IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.All pname, IntPtr @params); internal static IglooInterfaceSGIX glIglooInterfaceSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ImageTransformParameterfHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single param); + internal delegate void ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param); internal static ImageTransformParameterfHP glImageTransformParameterfHP; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single* @params); + internal unsafe delegate void ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params); internal unsafe static ImageTransformParameterfvHP glImageTransformParameterfvHP; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ImageTransformParameteriHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32 param); + internal delegate void ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param); internal static ImageTransformParameteriHP glImageTransformParameteriHP; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ImageTransformParameterivHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params); + internal unsafe delegate void ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params); internal unsafe static ImageTransformParameterivHP glImageTransformParameterivHP; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Indexd(Double c); @@ -2369,7 +2369,7 @@ namespace OpenTK.Graphics internal delegate void Indexf(Single c); internal static Indexf glIndexf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexFuncEXT(OpenTK.Graphics.ExtIndexFunc func, Single @ref); + internal delegate void IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref); internal static IndexFuncEXT glIndexFuncEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void Indexfv(Single* c); @@ -2384,16 +2384,16 @@ namespace OpenTK.Graphics internal delegate void IndexMask(UInt32 mask); internal static IndexMask glIndexMask; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexMaterialEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ExtIndexMaterial mode); + internal delegate void IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode); internal static IndexMaterialEXT glIndexMaterialEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer); + internal delegate void IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer); internal static IndexPointer glIndexPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexPointerEXT(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal delegate void IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); internal static IndexPointerEXT glIndexPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void IndexPointerListIBM(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static IndexPointerListIBM glIndexPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Indexs(Int16 c); @@ -2417,7 +2417,7 @@ namespace OpenTK.Graphics internal unsafe delegate void InstrumentsBufferSGIX(Int32 size, [Out] Int32* buffer); internal unsafe static InstrumentsBufferSGIX glInstrumentsBufferSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); + internal delegate void InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); internal static InterleavedArrays glInterleavedArrays; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate bool IsAsyncMarkerSGIX(UInt32 marker); @@ -2429,13 +2429,13 @@ namespace OpenTK.Graphics internal delegate bool IsBufferARB(UInt32 buffer); internal static IsBufferARB glIsBufferARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabled(OpenTK.Graphics.EnableCap cap); + internal delegate bool IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap); internal static IsEnabled glIsEnabled; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabledi(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); + internal delegate bool IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index); internal static IsEnabledi glIsEnabledi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsEnabledIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + internal delegate bool IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.ExtDrawBuffers2 target, UInt32 index); internal static IsEnabledIndexedEXT glIsEnabledIndexedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate bool IsFenceAPPLE(UInt32 fence); @@ -2495,7 +2495,7 @@ namespace OpenTK.Graphics internal delegate bool IsTransformFeedbackNV(UInt32 id); internal static IsTransformFeedbackNV glIsTransformFeedbackNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader cap); + internal delegate bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap); internal static IsVariantEnabledEXT glIsVariantEnabledEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate bool IsVertexArray(UInt32 array); @@ -2504,34 +2504,34 @@ namespace OpenTK.Graphics internal delegate bool IsVertexArrayAPPLE(UInt32 array); internal static IsVertexArrayAPPLE glIsVertexArrayAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal delegate bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname); internal static IsVertexAttribEnabledAPPLE glIsVertexAttribEnabledAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightEnviSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + internal delegate void LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param); internal static LightEnviSGIX glLightEnviSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lightf(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param); + internal delegate void Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param); internal static Lightf glLightf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightfv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single* @params); + internal unsafe delegate void Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params); internal unsafe static Lightfv glLightfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Lighti(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param); + internal delegate void Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param); internal static Lighti glLighti; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Lightiv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params); + internal unsafe delegate void Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params); internal unsafe static Lightiv glLightiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModelf(OpenTK.Graphics.LightModelParameter pname, Single param); + internal delegate void LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param); internal static LightModelf glLightModelf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModelfv(OpenTK.Graphics.LightModelParameter pname, Single* @params); + internal unsafe delegate void LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params); internal unsafe static LightModelfv glLightModelfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LightModeli(OpenTK.Graphics.LightModelParameter pname, Int32 param); + internal delegate void LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param); internal static LightModeli glLightModeli; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LightModeliv(OpenTK.Graphics.LightModelParameter pname, Int32* @params); + internal unsafe delegate void LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params); internal unsafe static LightModeliv glLightModeliv; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void LineStipple(Int32 factor, UInt16 pattern); @@ -2549,16 +2549,16 @@ namespace OpenTK.Graphics internal delegate void ListBase(UInt32 @base); internal static ListBase glListBase; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param); + internal delegate void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param); internal static ListParameterfSGIX glListParameterfSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params); + internal unsafe delegate void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params); internal unsafe static ListParameterfvSGIX glListParameterfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param); + internal delegate void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param); internal static ListParameteriSGIX glListParameteriSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params); + internal unsafe delegate void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params); internal unsafe static ListParameterivSGIX glListParameterivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void LoadIdentity(); @@ -2576,7 +2576,7 @@ namespace OpenTK.Graphics internal delegate void LoadName(UInt32 name); internal static LoadName glLoadName; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); + internal unsafe delegate void LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); internal unsafe static LoadProgramNV glLoadProgramNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void LoadTransposeMatrixd(Double* m); @@ -2594,31 +2594,31 @@ namespace OpenTK.Graphics internal delegate void LockArraysEXT(Int32 first, Int32 count); internal static LockArraysEXT glLockArraysEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LogicOp(OpenTK.Graphics.LogicOp opcode); + internal delegate void LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode); internal static LogicOp glLogicOp; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map1d(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + internal unsafe delegate void Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points); internal unsafe static Map1d glMap1d; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map1f(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + internal unsafe delegate void Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points); internal unsafe static Map1f glMap1f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map2d(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + internal unsafe delegate void Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); internal unsafe static Map2d glMap2d; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Map2f(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + internal unsafe delegate void Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); internal unsafe static Map2f glMap2f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access); + internal unsafe delegate IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access); internal unsafe static MapBuffer glMapBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr MapBufferARB(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.ArbVertexBufferObject access); + internal unsafe delegate IntPtr MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access); internal unsafe static MapBufferARB glMapBufferARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr MapBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.BufferAccessMask access); + internal unsafe delegate IntPtr MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access); internal unsafe static MapBufferRange glMapBufferRange; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MapControlPointsNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); + internal delegate void MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); internal static MapControlPointsNV glMapControlPointsNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void MapGrid1d(Int32 un, Double u1, Double u2); @@ -2633,16 +2633,16 @@ namespace OpenTK.Graphics internal delegate void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); internal static MapGrid2f glMapGrid2f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess access); + internal unsafe delegate IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access); internal unsafe static MapNamedBufferEXT glMapNamedBufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate IntPtr MapObjectBufferATI(UInt32 buffer); internal unsafe static MapObjectBufferATI glMapObjectBufferATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapParameterfvNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params); + internal unsafe delegate void MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params); internal unsafe static MapParameterfvNV glMapParameterfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params); + internal unsafe delegate void MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params); internal unsafe static MapParameterivNV glMapParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); @@ -2657,22 +2657,22 @@ namespace OpenTK.Graphics internal unsafe delegate void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); internal unsafe static MapVertexAttrib2fAPPLE glMapVertexAttrib2fAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materialf(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); + internal delegate void Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param); internal static Materialf glMaterialf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialfv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params); + internal unsafe delegate void Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params); internal unsafe static Materialfv glMaterialfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Materiali(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param); + internal delegate void Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param); internal static Materiali glMateriali; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void Materialiv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params); + internal unsafe delegate void Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params); internal unsafe static Materialiv glMaterialiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixFrustumEXT(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal delegate void MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); internal static MatrixFrustumEXT glMatrixFrustumEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer); + internal delegate void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer); internal static MatrixIndexPointerARB glMatrixIndexPointerARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void MatrixIndexubvARB(Int32 size, Byte* indices); @@ -2684,388 +2684,388 @@ namespace OpenTK.Graphics internal unsafe delegate void MatrixIndexusvARB(Int32 size, UInt16* indices); internal unsafe static MatrixIndexusvARB glMatrixIndexusvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoaddEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal unsafe delegate void MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); internal unsafe static MatrixLoaddEXT glMatrixLoaddEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoadfEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal unsafe delegate void MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); internal unsafe static MatrixLoadfEXT glMatrixLoadfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixLoadIdentityEXT(OpenTK.Graphics.MatrixMode mode); + internal delegate void MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); internal static MatrixLoadIdentityEXT glMatrixLoadIdentityEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoadTransposedEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal unsafe delegate void MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); internal unsafe static MatrixLoadTransposedEXT glMatrixLoadTransposedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixLoadTransposefEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal unsafe delegate void MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); internal unsafe static MatrixLoadTransposefEXT glMatrixLoadTransposefEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixMode(OpenTK.Graphics.MatrixMode mode); + internal delegate void MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode); internal static MatrixMode glMatrixMode; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultdEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal unsafe delegate void MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); internal unsafe static MatrixMultdEXT glMatrixMultdEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultfEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal unsafe delegate void MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); internal unsafe static MatrixMultfEXT glMatrixMultfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultTransposedEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + internal unsafe delegate void MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m); internal unsafe static MatrixMultTransposedEXT glMatrixMultTransposedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MatrixMultTransposefEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + internal unsafe delegate void MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m); internal unsafe static MatrixMultTransposefEXT glMatrixMultTransposefEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixOrthoEXT(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + internal delegate void MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); internal static MatrixOrthoEXT glMatrixOrthoEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixPopEXT(OpenTK.Graphics.MatrixMode mode); + internal delegate void MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); internal static MatrixPopEXT glMatrixPopEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixPushEXT(OpenTK.Graphics.MatrixMode mode); + internal delegate void MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode); internal static MatrixPushEXT glMatrixPushEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixRotatedEXT(OpenTK.Graphics.MatrixMode mode, Double angle, Double x, Double y, Double z); + internal delegate void MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z); internal static MatrixRotatedEXT glMatrixRotatedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixRotatefEXT(OpenTK.Graphics.MatrixMode mode, Single angle, Single x, Single y, Single z); + internal delegate void MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z); internal static MatrixRotatefEXT glMatrixRotatefEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixScaledEXT(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z); + internal delegate void MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); internal static MatrixScaledEXT glMatrixScaledEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixScalefEXT(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z); + internal delegate void MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); internal static MatrixScalefEXT glMatrixScalefEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixTranslatedEXT(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z); + internal delegate void MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z); internal static MatrixTranslatedEXT glMatrixTranslatedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MatrixTranslatefEXT(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z); + internal delegate void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); internal static MatrixTranslatefEXT glMatrixTranslatefEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal delegate void Minmax(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static Minmax glMinmax; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MinmaxEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + internal delegate void MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink); internal static MinmaxEXT glMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void MinSampleShading(Single value); internal static MinSampleShading glMinSampleShading; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); + internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.OpenGL.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); internal unsafe static MultiDrawArrays glMultiDrawArrays; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); + internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + internal unsafe delegate void MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount); internal unsafe static MultiDrawElementArrayAPPLE glMultiDrawElementArrayAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); internal unsafe static MultiDrawElements glMultiDrawElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); + internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); + internal unsafe delegate void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); internal unsafe static MultiDrawRangeElementArrayAPPLE glMultiDrawRangeElementArrayAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiModeDrawArraysIBM(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + internal unsafe delegate void MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); internal unsafe static MultiModeDrawArraysIBM glMultiModeDrawArraysIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiModeDrawElementsIBM(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + internal unsafe delegate void MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.BeginMode* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); internal unsafe static MultiModeDrawElementsIBM glMultiModeDrawElementsIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexBufferEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer); + internal delegate void MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); internal static MultiTexBufferEXT glMultiTexBufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1d(OpenTK.Graphics.TextureUnit target, Double s); + internal delegate void MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); internal static MultiTexCoord1d glMultiTexCoord1d; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1dARB(OpenTK.Graphics.TextureUnit target, Double s); + internal delegate void MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s); internal static MultiTexCoord1dARB glMultiTexCoord1dARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord1dv glMultiTexCoord1dv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord1dvARB glMultiTexCoord1dvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1f(OpenTK.Graphics.TextureUnit target, Single s); + internal delegate void MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); internal static MultiTexCoord1f glMultiTexCoord1f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1fARB(OpenTK.Graphics.TextureUnit target, Single s); + internal delegate void MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s); internal static MultiTexCoord1fARB glMultiTexCoord1fARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord1fv glMultiTexCoord1fv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord1fvARB glMultiTexCoord1fvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s); + internal delegate void MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s); internal static MultiTexCoord1hNV glMultiTexCoord1hNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal unsafe delegate void MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); internal unsafe static MultiTexCoord1hvNV glMultiTexCoord1hvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1i(OpenTK.Graphics.TextureUnit target, Int32 s); + internal delegate void MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); internal static MultiTexCoord1i glMultiTexCoord1i; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1iARB(OpenTK.Graphics.TextureUnit target, Int32 s); + internal delegate void MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s); internal static MultiTexCoord1iARB glMultiTexCoord1iARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord1iv glMultiTexCoord1iv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord1ivARB glMultiTexCoord1ivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1s(OpenTK.Graphics.TextureUnit target, Int16 s); + internal delegate void MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); internal static MultiTexCoord1s glMultiTexCoord1s; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord1sARB(OpenTK.Graphics.TextureUnit target, Int16 s); + internal delegate void MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s); internal static MultiTexCoord1sARB glMultiTexCoord1sARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord1sv glMultiTexCoord1sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord1svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord1svARB glMultiTexCoord1svARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2d(OpenTK.Graphics.TextureUnit target, Double s, Double t); + internal delegate void MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); internal static MultiTexCoord2d glMultiTexCoord2d; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t); + internal delegate void MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t); internal static MultiTexCoord2dARB glMultiTexCoord2dARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord2dv glMultiTexCoord2dv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord2dvARB glMultiTexCoord2dvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2f(OpenTK.Graphics.TextureUnit target, Single s, Single t); + internal delegate void MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); internal static MultiTexCoord2f glMultiTexCoord2f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t); + internal delegate void MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t); internal static MultiTexCoord2fARB glMultiTexCoord2fARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord2fv glMultiTexCoord2fv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord2fvARB glMultiTexCoord2fvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t); + internal delegate void MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s, OpenTK.Half t); internal static MultiTexCoord2hNV glMultiTexCoord2hNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal unsafe delegate void MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); internal unsafe static MultiTexCoord2hvNV glMultiTexCoord2hvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t); + internal delegate void MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); internal static MultiTexCoord2i glMultiTexCoord2i; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t); + internal delegate void MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t); internal static MultiTexCoord2iARB glMultiTexCoord2iARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord2iv glMultiTexCoord2iv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord2ivARB glMultiTexCoord2ivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t); + internal delegate void MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); internal static MultiTexCoord2s glMultiTexCoord2s; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord2sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t); + internal delegate void MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t); internal static MultiTexCoord2sARB glMultiTexCoord2sARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord2sv glMultiTexCoord2sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord2svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord2svARB glMultiTexCoord2svARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3d(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r); + internal delegate void MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); internal static MultiTexCoord3d glMultiTexCoord3d; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r); + internal delegate void MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r); internal static MultiTexCoord3dARB glMultiTexCoord3dARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord3dv glMultiTexCoord3dv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord3dvARB glMultiTexCoord3dvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3f(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r); + internal delegate void MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); internal static MultiTexCoord3f glMultiTexCoord3f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r); + internal delegate void MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r); internal static MultiTexCoord3fARB glMultiTexCoord3fARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord3fv glMultiTexCoord3fv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord3fvARB glMultiTexCoord3fvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r); + internal delegate void MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r); internal static MultiTexCoord3hNV glMultiTexCoord3hNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal unsafe delegate void MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); internal unsafe static MultiTexCoord3hvNV glMultiTexCoord3hvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r); + internal delegate void MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); internal static MultiTexCoord3i glMultiTexCoord3i; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r); + internal delegate void MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r); internal static MultiTexCoord3iARB glMultiTexCoord3iARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord3iv glMultiTexCoord3iv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord3ivARB glMultiTexCoord3ivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r); + internal delegate void MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); internal static MultiTexCoord3s glMultiTexCoord3s; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord3sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r); + internal delegate void MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r); internal static MultiTexCoord3sARB glMultiTexCoord3sARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord3sv glMultiTexCoord3sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord3svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord3svARB glMultiTexCoord3svARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4d(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q); + internal delegate void MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); internal static MultiTexCoord4d glMultiTexCoord4d; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q); + internal delegate void MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q); internal static MultiTexCoord4dARB glMultiTexCoord4dARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4dv(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord4dv glMultiTexCoord4dv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + internal unsafe delegate void MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v); internal unsafe static MultiTexCoord4dvARB glMultiTexCoord4dvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4f(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q); + internal delegate void MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); internal static MultiTexCoord4f glMultiTexCoord4f; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q); + internal delegate void MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q); internal static MultiTexCoord4fARB glMultiTexCoord4fARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4fv(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord4fv glMultiTexCoord4fv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + internal unsafe delegate void MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v); internal unsafe static MultiTexCoord4fvARB glMultiTexCoord4fvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q); + internal delegate void MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q); internal static MultiTexCoord4hNV glMultiTexCoord4hNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + internal unsafe delegate void MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, OpenTK.Half* v); internal unsafe static MultiTexCoord4hvNV glMultiTexCoord4hvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + internal delegate void MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); internal static MultiTexCoord4i glMultiTexCoord4i; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + internal delegate void MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); internal static MultiTexCoord4iARB glMultiTexCoord4iARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4iv(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord4iv glMultiTexCoord4iv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + internal unsafe delegate void MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v); internal unsafe static MultiTexCoord4ivARB glMultiTexCoord4ivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + internal delegate void MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); internal static MultiTexCoord4s glMultiTexCoord4s; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoord4sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + internal delegate void MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); internal static MultiTexCoord4sARB glMultiTexCoord4sARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4sv(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord4sv glMultiTexCoord4sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexCoord4svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + internal unsafe delegate void MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v); internal unsafe static MultiTexCoord4svARB glMultiTexCoord4svARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexCoordPointerEXT(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer); + internal delegate void MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); internal static MultiTexCoordPointerEXT glMultiTexCoordPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexEnvfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param); + internal delegate void MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); internal static MultiTexEnvfEXT glMultiTexEnvfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexEnvfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params); + internal unsafe delegate void MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); internal unsafe static MultiTexEnvfvEXT glMultiTexEnvfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexEnviEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param); + internal delegate void MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); internal static MultiTexEnviEXT glMultiTexEnviEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexEnvivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params); + internal unsafe delegate void MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); internal unsafe static MultiTexEnvivEXT glMultiTexEnvivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexGendEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param); + internal delegate void MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); internal static MultiTexGendEXT glMultiTexGendEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexGendvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params); + internal unsafe delegate void MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); internal unsafe static MultiTexGendvEXT glMultiTexGendvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexGenfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param); + internal delegate void MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); internal static MultiTexGenfEXT glMultiTexGenfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexGenfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params); + internal unsafe delegate void MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); internal unsafe static MultiTexGenfvEXT glMultiTexGenfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexGeniEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param); + internal delegate void MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); internal static MultiTexGeniEXT glMultiTexGeniEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexGenivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params); + internal unsafe delegate void MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); internal unsafe static MultiTexGenivEXT glMultiTexGenivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void MultiTexImage1DEXT(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); internal static MultiTexImage1DEXT glMultiTexImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void MultiTexImage2DEXT(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); internal static MultiTexImage2DEXT glMultiTexImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void MultiTexImage3DEXT(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); internal static MultiTexImage3DEXT glMultiTexImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexParameterfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + internal delegate void MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); internal static MultiTexParameterfEXT glMultiTexParameterfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + internal unsafe delegate void MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); internal unsafe static MultiTexParameterfvEXT glMultiTexParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexParameteriEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + internal delegate void MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); internal static MultiTexParameteriEXT glMultiTexParameteriEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterIivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static MultiTexParameterIivEXT glMultiTexParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterIuivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal unsafe delegate void MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); internal unsafe static MultiTexParameterIuivEXT glMultiTexParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiTexParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static MultiTexParameterivEXT glMultiTexParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexRenderbufferEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + internal delegate void MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); internal static MultiTexRenderbufferEXT glMultiTexRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static MultiTexSubImage1DEXT glMultiTexSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static MultiTexSubImage2DEXT glMultiTexSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static MultiTexSubImage3DEXT glMultiTexSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void MultMatrixd(Double* m); @@ -3086,82 +3086,82 @@ namespace OpenTK.Graphics internal unsafe delegate void MultTransposeMatrixfARB(Single* m); internal unsafe static MultTransposeMatrixfARB glMultTransposeMatrixfARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage); + internal delegate void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage); internal static NamedBufferDataEXT glNamedBufferDataEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); internal static NamedBufferSubDataEXT glNamedBufferSubDataEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + internal delegate void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); internal static NamedFramebufferRenderbufferEXT glNamedFramebufferRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal delegate void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); internal static NamedFramebufferTexture1DEXT glNamedFramebufferTexture1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + internal delegate void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level); internal static NamedFramebufferTexture2DEXT glNamedFramebufferTexture2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + internal delegate void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); internal static NamedFramebufferTexture3DEXT glNamedFramebufferTexture3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + internal delegate void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level); internal static NamedFramebufferTextureEXT glNamedFramebufferTextureEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + internal delegate void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face); internal static NamedFramebufferTextureFaceEXT glNamedFramebufferTextureFaceEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + internal delegate void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); internal static NamedFramebufferTextureLayerEXT glNamedFramebufferTextureLayerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); + internal delegate void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); internal static NamedProgramLocalParameter4dEXT glNamedProgramLocalParameter4dEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double* @params); + internal unsafe delegate void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params); internal unsafe static NamedProgramLocalParameter4dvEXT glNamedProgramLocalParameter4dvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); + internal delegate void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); internal static NamedProgramLocalParameter4fEXT glNamedProgramLocalParameter4fEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params); + internal unsafe delegate void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params); internal unsafe static NamedProgramLocalParameter4fvEXT glNamedProgramLocalParameter4fvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal delegate void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); internal static NamedProgramLocalParameterI4iEXT glNamedProgramLocalParameterI4iEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params); + internal unsafe delegate void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params); internal unsafe static NamedProgramLocalParameterI4ivEXT glNamedProgramLocalParameterI4ivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal delegate void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); internal static NamedProgramLocalParameterI4uiEXT glNamedProgramLocalParameterI4uiEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params); + internal unsafe delegate void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params); internal unsafe static NamedProgramLocalParameterI4uivEXT glNamedProgramLocalParameterI4uivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); + internal unsafe delegate void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); internal unsafe static NamedProgramLocalParameters4fvEXT glNamedProgramLocalParameters4fvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); + internal unsafe delegate void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); internal unsafe static NamedProgramLocalParametersI4ivEXT glNamedProgramLocalParametersI4ivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); + internal unsafe delegate void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); internal unsafe static NamedProgramLocalParametersI4uivEXT glNamedProgramLocalParametersI4uivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string); + internal delegate void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string); internal static NamedProgramStringEXT glNamedProgramStringEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal delegate void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); internal static NamedRenderbufferStorageEXT glNamedRenderbufferStorageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal delegate void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); internal static NamedRenderbufferStorageMultisampleCoverageEXT glNamedRenderbufferStorageMultisampleCoverageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal delegate void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); internal static NamedRenderbufferStorageMultisampleEXT glNamedRenderbufferStorageMultisampleEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NewList(UInt32 list, OpenTK.Graphics.ListMode mode); + internal delegate void NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode); internal static NewList glNewList; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage); + internal delegate Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage); internal static NewObjectBufferATI glNewObjectBufferATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Normal3b(SByte nx, SByte ny, SByte nz); @@ -3206,58 +3206,58 @@ namespace OpenTK.Graphics internal unsafe delegate void Normal3sv(Int16* v); internal unsafe static Normal3sv glNormal3sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + internal delegate void NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); internal static NormalPointer glNormalPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal delegate void NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); internal static NormalPointerEXT glNormalPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointerListIBM(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static NormalPointerListIBM glNormalPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalPointervINTEL(OpenTK.Graphics.NormalPointerType type, IntPtr pointer); + internal delegate void NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer); internal static NormalPointervINTEL glNormalPointervINTEL; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3bATI(OpenTK.Graphics.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); + internal delegate void NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); internal static NormalStream3bATI glNormalStream3bATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3bvATI(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords); + internal unsafe delegate void NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords); internal unsafe static NormalStream3bvATI glNormalStream3bvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3dATI(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz); + internal delegate void NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz); internal static NormalStream3dATI glNormalStream3dATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal unsafe delegate void NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); internal unsafe static NormalStream3dvATI glNormalStream3dvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3fATI(OpenTK.Graphics.AtiVertexStreams stream, Single nx, Single ny, Single nz); + internal delegate void NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz); internal static NormalStream3fATI glNormalStream3fATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal unsafe delegate void NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); internal unsafe static NormalStream3fvATI glNormalStream3fvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); + internal delegate void NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); internal static NormalStream3iATI glNormalStream3iATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal unsafe delegate void NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); internal unsafe static NormalStream3ivATI glNormalStream3ivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NormalStream3sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); + internal delegate void NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); internal static NormalStream3sATI glNormalStream3sATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NormalStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal unsafe delegate void NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); internal unsafe static NormalStream3svATI glNormalStream3svATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + internal delegate IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); internal static ObjectPurgeableAPPLE glObjectPurgeableAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + internal delegate IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option); internal static ObjectUnpurgeableAPPLE glObjectUnpurgeableAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); internal static Ortho glOrtho; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.AtiFragmentShader swizzle); + internal delegate void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); internal static PassTexCoordATI glPassTexCoordATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PassThrough(Single token); @@ -3266,100 +3266,100 @@ namespace OpenTK.Graphics internal delegate void PauseTransformFeedbackNV(); internal static PauseTransformFeedbackNV glPauseTransformFeedbackNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelDataRangeNV(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer); + internal delegate void PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer); internal static PixelDataRangeNV glPixelDataRangeNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapfv(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values); + internal unsafe delegate void PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values); internal unsafe static PixelMapfv glPixelMapfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapuiv(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values); + internal unsafe delegate void PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values); internal unsafe static PixelMapuiv glPixelMapuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelMapusv(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values); + internal unsafe delegate void PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values); internal unsafe static PixelMapusv glPixelMapusv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStoref(OpenTK.Graphics.PixelStoreParameter pname, Single param); + internal delegate void PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param); internal static PixelStoref glPixelStoref; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelStorei(OpenTK.Graphics.PixelStoreParameter pname, Int32 param); + internal delegate void PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param); internal static PixelStorei glPixelStorei; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenParameterfSGIS(OpenTK.Graphics.SgisPixelTexture pname, Single param); + internal delegate void PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param); internal static PixelTexGenParameterfSGIS glPixelTexGenParameterfSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTexGenParameterfvSGIS(OpenTK.Graphics.SgisPixelTexture pname, Single* @params); + internal unsafe delegate void PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params); internal unsafe static PixelTexGenParameterfvSGIS glPixelTexGenParameterfvSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenParameteriSGIS(OpenTK.Graphics.SgisPixelTexture pname, Int32 param); + internal delegate void PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param); internal static PixelTexGenParameteriSGIS glPixelTexGenParameteriSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTexGenParameterivSGIS(OpenTK.Graphics.SgisPixelTexture pname, Int32* @params); + internal unsafe delegate void PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params); internal unsafe static PixelTexGenParameterivSGIS glPixelTexGenParameterivSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTexGenSGIX(OpenTK.Graphics.SgixPixelTexture mode); + internal delegate void PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode); internal static PixelTexGenSGIX glPixelTexGenSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransferf(OpenTK.Graphics.PixelTransferParameter pname, Single param); + internal delegate void PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param); internal static PixelTransferf glPixelTransferf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransferi(OpenTK.Graphics.PixelTransferParameter pname, Int32 param); + internal delegate void PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param); internal static PixelTransferi glPixelTransferi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransformParameterfEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single param); + internal delegate void PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param); internal static PixelTransformParameterfEXT glPixelTransformParameterfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTransformParameterfvEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single* @params); + internal unsafe delegate void PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params); internal unsafe static PixelTransformParameterfvEXT glPixelTransformParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PixelTransformParameteriEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32 param); + internal delegate void PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param); internal static PixelTransformParameteriEXT glPixelTransformParameteriEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PixelTransformParameterivEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32* @params); + internal unsafe delegate void PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params); internal unsafe static PixelTransformParameterivEXT glPixelTransformParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PixelZoom(Single xfactor, Single yfactor); internal static PixelZoom glPixelZoom; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PNTrianglesfATI(OpenTK.Graphics.AtiPnTriangles pname, Single param); + internal delegate void PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param); internal static PNTrianglesfATI glPNTrianglesfATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PNTrianglesiATI(OpenTK.Graphics.AtiPnTriangles pname, Int32 param); + internal delegate void PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param); internal static PNTrianglesiATI glPNTrianglesiATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterf(OpenTK.Graphics.PointParameterName pname, Single param); + internal delegate void PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param); internal static PointParameterf glPointParameterf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterfARB(OpenTK.Graphics.ArbPointParameters pname, Single param); + internal delegate void PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param); internal static PointParameterfARB glPointParameterfARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterfEXT(OpenTK.Graphics.ExtPointParameters pname, Single param); + internal delegate void PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param); internal static PointParameterfEXT glPointParameterfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameterfSGIS(OpenTK.Graphics.SgisPointParameters pname, Single param); + internal delegate void PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param); internal static PointParameterfSGIS glPointParameterfSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfv(OpenTK.Graphics.PointParameterName pname, Single* @params); + internal unsafe delegate void PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params); internal unsafe static PointParameterfv glPointParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfvARB(OpenTK.Graphics.ArbPointParameters pname, Single* @params); + internal unsafe delegate void PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params); internal unsafe static PointParameterfvARB glPointParameterfvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfvEXT(OpenTK.Graphics.ExtPointParameters pname, Single* @params); + internal unsafe delegate void PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params); internal unsafe static PointParameterfvEXT glPointParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterfvSGIS(OpenTK.Graphics.SgisPointParameters pname, Single* @params); + internal unsafe delegate void PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params); internal unsafe static PointParameterfvSGIS glPointParameterfvSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameteri(OpenTK.Graphics.PointParameterName pname, Int32 param); + internal delegate void PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param); internal static PointParameteri glPointParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PointParameteriNV(OpenTK.Graphics.NvPointSprite pname, Int32 param); + internal delegate void PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param); internal static PointParameteriNV glPointParameteriNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameteriv(OpenTK.Graphics.PointParameterName pname, Int32* @params); + internal unsafe delegate void PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params); internal unsafe static PointParameteriv glPointParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PointParameterivNV(OpenTK.Graphics.NvPointSprite pname, Int32* @params); + internal unsafe delegate void PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params); internal unsafe static PointParameterivNV glPointParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PointSize(Single size); @@ -3371,7 +3371,7 @@ namespace OpenTK.Graphics internal unsafe delegate Int32 PollInstrumentsSGIX([Out] Int32* marker_p); internal unsafe static PollInstrumentsSGIX glPollInstrumentsSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode); + internal delegate void PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode); internal static PolygonMode glPolygonMode; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PolygonOffset(Single factor, Single units); @@ -3395,10 +3395,10 @@ namespace OpenTK.Graphics internal delegate void PopName(); internal static PopName glPopName; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3); + internal delegate void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3); internal static PresentFrameDualFillNV glPresentFrameDualFillNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1); + internal delegate void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1); internal static PresentFrameKeyedNV glPresentFrameKeyedNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PrimitiveRestartIndex(UInt32 index); @@ -3416,79 +3416,79 @@ namespace OpenTK.Graphics internal unsafe delegate void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); internal unsafe static PrioritizeTexturesEXT glPrioritizeTexturesEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramBufferParametersfvNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); + internal unsafe delegate void ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); internal unsafe static ProgramBufferParametersfvNV glProgramBufferParametersfvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramBufferParametersIivNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); + internal unsafe delegate void ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); internal unsafe static ProgramBufferParametersIivNV glProgramBufferParametersIivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramBufferParametersIuivNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); + internal unsafe delegate void ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); internal unsafe static ProgramBufferParametersIuivNV glProgramBufferParametersIuivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameter4dARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal delegate void ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); internal static ProgramEnvParameter4dARB glProgramEnvParameter4dARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameter4dvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + internal unsafe delegate void ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); internal unsafe static ProgramEnvParameter4dvARB glProgramEnvParameter4dvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameter4fARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal delegate void ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); internal static ProgramEnvParameter4fARB glProgramEnvParameter4fARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameter4fvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + internal unsafe delegate void ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); internal unsafe static ProgramEnvParameter4fvARB glProgramEnvParameter4fvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameterI4iNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal delegate void ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); internal static ProgramEnvParameterI4iNV glProgramEnvParameterI4iNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameterI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params); + internal unsafe delegate void ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); internal unsafe static ProgramEnvParameterI4ivNV glProgramEnvParameterI4ivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramEnvParameterI4uiNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal delegate void ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); internal static ProgramEnvParameterI4uiNV glProgramEnvParameterI4uiNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameterI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params); + internal unsafe delegate void ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); internal unsafe static ProgramEnvParameterI4uivNV glProgramEnvParameterI4uivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParameters4fvEXT(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + internal unsafe delegate void ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); internal unsafe static ProgramEnvParameters4fvEXT glProgramEnvParameters4fvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParametersI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + internal unsafe delegate void ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); internal unsafe static ProgramEnvParametersI4ivNV glProgramEnvParametersI4ivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramEnvParametersI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + internal unsafe delegate void ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); internal unsafe static ProgramEnvParametersI4uivNV glProgramEnvParametersI4uivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameter4dARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal delegate void ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); internal static ProgramLocalParameter4dARB glProgramLocalParameter4dARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameter4dvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + internal unsafe delegate void ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params); internal unsafe static ProgramLocalParameter4dvARB glProgramLocalParameter4dvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameter4fARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal delegate void ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); internal static ProgramLocalParameter4fARB glProgramLocalParameter4fARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameter4fvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + internal unsafe delegate void ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params); internal unsafe static ProgramLocalParameter4fvARB glProgramLocalParameter4fvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameterI4iNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + internal delegate void ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); internal static ProgramLocalParameterI4iNV glProgramLocalParameterI4iNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameterI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params); + internal unsafe delegate void ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params); internal unsafe static ProgramLocalParameterI4ivNV glProgramLocalParameterI4ivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramLocalParameterI4uiNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + internal delegate void ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); internal static ProgramLocalParameterI4uiNV glProgramLocalParameterI4uiNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameterI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params); + internal unsafe delegate void ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params); internal unsafe static ProgramLocalParameterI4uivNV glProgramLocalParameterI4uivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParameters4fvEXT(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + internal unsafe delegate void ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); internal unsafe static ProgramLocalParameters4fvEXT glProgramLocalParameters4fvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParametersI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + internal unsafe delegate void ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); internal unsafe static ProgramLocalParametersI4ivNV glProgramLocalParametersI4ivNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramLocalParametersI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + internal unsafe delegate void ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); internal unsafe static ProgramLocalParametersI4uivNV glProgramLocalParametersI4uivNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); @@ -3503,34 +3503,34 @@ namespace OpenTK.Graphics internal unsafe delegate void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); internal unsafe static ProgramNamedParameter4fvNV glProgramNamedParameter4fvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameter4dNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + internal delegate void ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); internal static ProgramParameter4dNV glProgramParameter4dNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameter4dvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* v); + internal unsafe delegate void ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v); internal unsafe static ProgramParameter4dvNV glProgramParameter4dvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameter4fNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + internal delegate void ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); internal static ProgramParameter4fNV glProgramParameter4fNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v); + internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value); + internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.Version32 pname, Int32 value); internal static ProgramParameteri glProgramParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value); + internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.ArbGeometryShader4 pname, Int32 value); internal static ProgramParameteriARB glProgramParameteriARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value); + internal delegate void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtGeometryShader4 pname, Int32 value); internal static ProgramParameteriEXT glProgramParameteriEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameters4dvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v); + internal unsafe delegate void ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v); internal unsafe static ProgramParameters4dvNV glProgramParameters4dvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ProgramParameters4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v); + internal unsafe delegate void ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v); internal unsafe static ProgramParameters4fvNV glProgramParameters4fvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramStringARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, IntPtr @string); + internal delegate void ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexProgram format, Int32 len, IntPtr @string); internal static ProgramStringARB glProgramStringARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); @@ -3632,22 +3632,22 @@ namespace OpenTK.Graphics internal unsafe delegate void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); internal unsafe static ProgramUniformMatrix4x3fvEXT glProgramUniformMatrix4x3fvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramVertexLimitNV(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit); + internal delegate void ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit); internal static ProgramVertexLimitNV glProgramVertexLimitNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode); + internal delegate void ProvokingVertex(OpenTK.Graphics.OpenGL.ArbProvokingVertex mode); internal static ProvokingVertex glProvokingVertex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProvokingVertexEXT(OpenTK.Graphics.ExtProvokingVertex mode); + internal delegate void ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode); internal static ProvokingVertexEXT glProvokingVertexEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushAttrib(OpenTK.Graphics.AttribMask mask); + internal delegate void PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask); internal static PushAttrib glPushAttrib; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask); + internal delegate void PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask); internal static PushClientAttrib glPushClientAttrib; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PushClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); + internal delegate void PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask); internal static PushClientAttribDefaultEXT glPushClientAttribDefaultEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void PushMatrix(); @@ -3728,13 +3728,13 @@ namespace OpenTK.Graphics internal unsafe delegate void RasterPos4sv(Int16* v); internal unsafe static RasterPos4sv glRasterPos4sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode); + internal delegate void ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode); internal static ReadBuffer glReadBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ReadInstrumentsSGIX(Int32 marker); internal static ReadInstrumentsSGIX glReadInstrumentsSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [Out] IntPtr pixels); internal static ReadPixels glReadPixels; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Rectd(Double x1, Double y1, Double x2, Double y2); @@ -3764,25 +3764,25 @@ namespace OpenTK.Graphics internal unsafe delegate void ReferencePlaneSGIX(Double* equation); internal unsafe static ReferencePlaneSGIX glReferencePlaneSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal delegate void RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); internal static RenderbufferStorage glRenderbufferStorage; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageEXT(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal delegate void RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); internal static RenderbufferStorageEXT glRenderbufferStorageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisample(OpenTK.Graphics.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + internal delegate void RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height); internal static RenderbufferStorageMultisample glRenderbufferStorageMultisample; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + internal delegate void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height); internal static RenderbufferStorageMultisampleCoverageNV glRenderbufferStorageMultisampleCoverageNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); + internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 RenderMode(OpenTK.Graphics.RenderingMode mode); + internal delegate Int32 RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode); internal static RenderMode glRenderMode; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ReplacementCodePointerSUN(OpenTK.Graphics.SunTriangleList type, Int32 stride, IntPtr pointer); + internal delegate void ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer); internal static ReplacementCodePointerSUN glReplacementCodePointerSUN; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ReplacementCodeubSUN(Byte code); @@ -3854,16 +3854,16 @@ namespace OpenTK.Graphics internal unsafe delegate void RequestResidentProgramsNV(Int32 n, UInt32* programs); internal unsafe static RequestResidentProgramsNV glRequestResidentProgramsNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetHistogram(OpenTK.Graphics.Version12Deprecated target); + internal delegate void ResetHistogram(OpenTK.Graphics.OpenGL.Version12Deprecated target); internal static ResetHistogram glResetHistogram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetHistogramEXT(OpenTK.Graphics.ExtHistogram target); + internal delegate void ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); internal static ResetHistogramEXT glResetHistogramEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetMinmax(OpenTK.Graphics.Version12Deprecated target); + internal delegate void ResetMinmax(OpenTK.Graphics.OpenGL.Version12Deprecated target); internal static ResetMinmax glResetMinmax; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ResetMinmaxEXT(OpenTK.Graphics.ExtHistogram target); + internal delegate void ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target); internal static ResetMinmaxEXT glResetMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ResizeBuffersMESA(); @@ -3884,7 +3884,7 @@ namespace OpenTK.Graphics internal delegate void SampleCoverageARB(Single value, bool invert); internal static SampleCoverageARB glSampleCoverageARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.AtiFragmentShader swizzle); + internal delegate void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle); internal static SampleMapATI glSampleMapATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void SampleMaskEXT(Single value, bool invert); @@ -3899,10 +3899,10 @@ namespace OpenTK.Graphics internal delegate void SampleMaskSGIS(Single value, bool invert); internal static SampleMaskSGIS glSampleMaskSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplePatternEXT(OpenTK.Graphics.ExtMultisample pattern); + internal delegate void SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern); internal static SamplePatternEXT glSamplePatternEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SamplePatternSGIS(OpenTK.Graphics.SgisMultisample pattern); + internal delegate void SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern); internal static SamplePatternSGIS glSamplePatternSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Scaled(Double x, Double y, Double z); @@ -4016,13 +4016,13 @@ namespace OpenTK.Graphics internal unsafe delegate void SecondaryColor3usvEXT(UInt16* v); internal unsafe static SecondaryColor3usvEXT glSecondaryColor3usvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + internal delegate void SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); internal static SecondaryColorPointer glSecondaryColorPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + internal delegate void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer); internal static SecondaryColorPointerEXT glSecondaryColorPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static SecondaryColorPointerListIBM glSecondaryColorPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void SelectBuffer(Int32 size, [Out] UInt32* buffer); @@ -4031,37 +4031,37 @@ namespace OpenTK.Graphics internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList); internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column); + internal delegate void SeparableFilter2D(OpenTK.Graphics.OpenGL.Version12Deprecated target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); internal static SeparableFilter2D glSeparableFilter2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SeparableFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column); + internal delegate void SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column); internal static SeparableFilter2DEXT glSeparableFilter2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void SetFenceAPPLE(UInt32 fence); internal static SetFenceAPPLE glSetFenceAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.NvFence condition); + internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition); internal static SetFenceNV glSetFenceNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void SetFragmentShaderConstantATI(UInt32 dst, Single* value); internal unsafe static SetFragmentShaderConstantATI glSetFragmentShaderConstantATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetInvariantEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr); + internal delegate void SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); internal static SetInvariantEXT glSetInvariantEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr); + internal delegate void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr); internal static SetLocalConstantEXT glSetLocalConstantEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShadeModel(OpenTK.Graphics.ShadingModel mode); + internal delegate void ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode); internal static ShadeModel glShadeModel; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderOp1EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1); + internal delegate void ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1); internal static ShaderOp1EXT glShaderOp1EXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderOp2EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); + internal delegate void ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); internal static ShaderOp2EXT glShaderOp2EXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ShaderOp3EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); + internal delegate void ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); internal static ShaderOp3EXT glShaderOp3EXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); @@ -4070,19 +4070,19 @@ namespace OpenTK.Graphics internal unsafe delegate void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); internal unsafe static ShaderSourceARB glShaderSourceARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SharpenTexFuncSGIS(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points); + internal unsafe delegate void SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points); internal unsafe static SharpenTexFuncSGIS glSharpenTexFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SpriteParameterfSGIX(OpenTK.Graphics.SgixSprite pname, Single param); + internal delegate void SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param); internal static SpriteParameterfSGIX glSpriteParameterfSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SpriteParameterfvSGIX(OpenTK.Graphics.SgixSprite pname, Single* @params); + internal unsafe delegate void SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params); internal unsafe static SpriteParameterfvSGIX glSpriteParameterfvSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SpriteParameteriSGIX(OpenTK.Graphics.SgixSprite pname, Int32 param); + internal delegate void SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param); internal static SpriteParameteriSGIX glSpriteParameteriSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void SpriteParameterivSGIX(OpenTK.Graphics.SgixSprite pname, Int32* @params); + internal unsafe delegate void SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params); internal unsafe static SpriteParameterivSGIX glSpriteParameterivSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void StartInstrumentsSGIX(); @@ -4091,28 +4091,28 @@ namespace OpenTK.Graphics internal delegate void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); internal static StencilClearTagEXT glStencilClearTagEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask); + internal delegate void StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); internal static StencilFunc glStencilFunc; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask); + internal delegate void StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask); internal static StencilFuncSeparate glStencilFuncSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilFuncSeparateATI(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask); + internal delegate void StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask); internal static StencilFuncSeparateATI glStencilFuncSeparateATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void StencilMask(UInt32 mask); internal static StencilMask glStencilMask; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask); + internal delegate void StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask); internal static StencilMaskSeparate glStencilMaskSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass); + internal delegate void StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass); internal static StencilOp glStencilOp; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass); + internal delegate void StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); internal static StencilOpSeparate glStencilOpSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void StencilOpSeparateATI(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass); + internal delegate void StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass); internal static StencilOpSeparateATI glStencilOpSeparateATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void StopInstrumentsSGIX(Int32 marker); @@ -4121,7 +4121,7 @@ namespace OpenTK.Graphics internal delegate void StringMarkerGREMEDY(Int32 len, IntPtr @string); internal static StringMarkerGREMEDY glStringMarkerGREMEDY; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW); + internal delegate void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); internal static SwizzleEXT glSwizzleEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TagSampleBufferSGIX(); @@ -4157,7 +4157,7 @@ namespace OpenTK.Graphics internal unsafe delegate void Tangent3svEXT(Int16* v); internal unsafe static Tangent3svEXT glTangent3svEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TangentPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + internal delegate void TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer); internal static TangentPointerEXT glTangentPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TbufferMask3DFX(UInt32 mask); @@ -4166,7 +4166,7 @@ namespace OpenTK.Graphics internal delegate void TessellationFactorAMD(Single factor); internal static TessellationFactorAMD glTessellationFactorAMD; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode); + internal delegate void TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode); internal static TessellationModeAMD glTessellationModeAMD; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate bool TestFenceAPPLE(UInt32 fence); @@ -4175,22 +4175,22 @@ namespace OpenTK.Graphics internal delegate bool TestFenceNV(UInt32 fence); internal static TestFenceNV glTestFenceNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool TestObjectAPPLE(OpenTK.Graphics.AppleFence @object, UInt32 name); + internal delegate bool TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name); internal static TestObjectAPPLE glTestObjectAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer); + internal delegate void TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer); internal static TexBuffer glTexBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBufferARB(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer); + internal delegate void TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer); internal static TexBufferARB glTexBufferARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexBufferEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer); + internal delegate void TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer); internal static TexBufferEXT glTexBufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param); + internal unsafe delegate void TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param); internal unsafe static TexBumpParameterfvATI glTexBumpParameterfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexBumpParameterivATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32* param); + internal unsafe delegate void TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param); internal unsafe static TexBumpParameterivATI glTexBumpParameterivATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TexCoord1d(Double s); @@ -4355,190 +4355,190 @@ namespace OpenTK.Graphics internal unsafe delegate void TexCoord4sv(Int16* v); internal unsafe static TexCoord4sv glTexCoord4sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer); + internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer); internal static TexCoordPointer glTexCoordPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal delegate void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); internal static TexCoordPointerEXT glTexCoordPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static TexCoordPointerListIBM glTexCoordPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + internal delegate void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); internal static TexCoordPointervINTEL glTexCoordPointervINTEL; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvf(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param); + internal delegate void TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param); internal static TexEnvf glTexEnvf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnvfv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params); + internal unsafe delegate void TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params); internal unsafe static TexEnvfv glTexEnvfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexEnvi(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param); + internal delegate void TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param); internal static TexEnvi glTexEnvi; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexEnviv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params); + internal unsafe delegate void TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params); internal unsafe static TexEnviv glTexEnviv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexFilterFuncSGIS(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single* weights); + internal unsafe delegate void TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights); internal unsafe static TexFilterFuncSGIS glTexFilterFuncSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGend(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param); + internal delegate void TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param); internal static TexGend glTexGend; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGendv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params); + internal unsafe delegate void TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params); internal unsafe static TexGendv glTexGendv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGenf(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param); + internal delegate void TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param); internal static TexGenf glTexGenf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGenfv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params); + internal unsafe delegate void TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params); internal unsafe static TexGenfv glTexGenfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexGeni(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param); + internal delegate void TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param); internal static TexGeni glTexGeni; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexGeniv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params); + internal unsafe delegate void TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params); internal unsafe static TexGeniv glTexGeniv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexImage1D glTexImage1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexImage2D glTexImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + internal delegate void TexImage2DMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); internal static TexImage2DMultisample glTexImage2DMultisample; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexImage3D glTexImage3D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexImage3DEXT glTexImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + internal delegate void TexImage3DMultisample(OpenTK.Graphics.OpenGL.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); internal static TexImage3DMultisample glTexImage3DMultisample; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexImage4DSGIS glTexImage4DSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameterf(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + internal delegate void TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); internal static TexParameterf glTexParameterf; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterfv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + internal unsafe delegate void TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); internal unsafe static TexParameterfv glTexParameterfv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexParameteri(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + internal delegate void TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); internal static TexParameteri glTexParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static TexParameterIiv glTexParameterIiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static TexParameterIivEXT glTexParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIuiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal unsafe delegate void TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); internal unsafe static TexParameterIuiv glTexParameterIuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameterIuivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal unsafe delegate void TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); internal unsafe static TexParameterIuivEXT glTexParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static TexParameteriv glTexParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexRenderbufferNV(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + internal delegate void TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); internal static TexRenderbufferNV glTexRenderbufferNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage1D glTexSubImage1D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage1DEXT glTexSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage2D glTexSubImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage2DEXT glTexSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage3D glTexSubImage3D; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage3DEXT glTexSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TexSubImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TexSubImage4DSGIS glTexSubImage4DSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer); + internal delegate void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer); internal static TextureBufferEXT glTextureBufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); internal static TextureColorMaskSGIS glTextureColorMaskSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TextureImage1DEXT(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); internal static TextureImage1DEXT glTextureImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TextureImage2DEXT(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); internal static TextureImage2DEXT glTextureImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TextureImage3DEXT(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); internal static TextureImage3DEXT glTextureImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureLightEXT(OpenTK.Graphics.ExtLightTexture pname); + internal delegate void TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname); internal static TextureLightEXT glTextureLightEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureMaterialEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode); + internal delegate void TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode); internal static TextureMaterialEXT glTextureMaterialEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureNormalEXT(OpenTK.Graphics.ExtTexturePerturbNormal mode); + internal delegate void TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode); internal static TextureNormalEXT glTextureNormalEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + internal delegate void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param); internal static TextureParameterfEXT glTextureParameterfEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + internal unsafe delegate void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params); internal unsafe static TextureParameterfvEXT glTextureParameterfvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + internal delegate void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param); internal static TextureParameteriEXT glTextureParameteriEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static TextureParameterIivEXT glTextureParameterIivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + internal unsafe delegate void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params); internal unsafe static TextureParameterIuivEXT glTextureParameterIuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + internal unsafe delegate void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params); internal unsafe static TextureParameterivEXT glTextureParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureRangeAPPLE(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer); + internal delegate void TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer); internal static TextureRangeAPPLE glTextureRangeAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + internal delegate void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer); internal static TextureRenderbufferEXT glTextureRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TextureSubImage1DEXT glTextureSubImage1DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TextureSubImage2DEXT glTextureSubImage2DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + internal delegate void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels); internal static TextureSubImage3DEXT glTextureSubImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TrackMatrixNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform); + internal delegate void TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform); internal static TrackMatrixNV glTrackMatrixNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode); + internal unsafe delegate void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); internal unsafe static TransformFeedbackAttribsNV glTransformFeedbackAttribsNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode); + internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode); internal static TransformFeedbackVaryings glTransformFeedbackVaryings; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode); + internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode); internal static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode); + internal delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode); internal static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Translated(Double x, Double y, Double z); @@ -4736,10 +4736,10 @@ namespace OpenTK.Graphics internal delegate void UnlockArraysEXT(); internal static UnlockArraysEXT glUnlockArraysEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBuffer(OpenTK.Graphics.BufferTarget target); + internal delegate bool UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target); internal static UnmapBuffer glUnmapBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate bool UnmapBufferARB(OpenTK.Graphics.BufferTargetArb target); + internal delegate bool UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target); internal static UnmapBufferARB glUnmapBufferARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate bool UnmapNamedBufferEXT(UInt32 buffer); @@ -4748,7 +4748,7 @@ namespace OpenTK.Graphics internal delegate void UnmapObjectBufferATI(UInt32 buffer); internal static UnmapObjectBufferATI glUnmapObjectBufferATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve); + internal delegate void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve); internal static UpdateObjectBufferATI glUpdateObjectBufferATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void UseProgram(UInt32 program); @@ -4763,7 +4763,7 @@ namespace OpenTK.Graphics internal delegate void ValidateProgramARB(UInt32 programObj); internal static ValidateProgramARB glValidateProgramARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + internal delegate void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); internal static VariantArrayObjectATI glVariantArrayObjectATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void VariantbvEXT(UInt32 id, SByte* addr); @@ -4778,7 +4778,7 @@ namespace OpenTK.Graphics internal unsafe delegate void VariantivEXT(UInt32 id, Int32* addr); internal unsafe static VariantivEXT glVariantivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VariantPointerEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, IntPtr addr); + internal delegate void VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr); internal static VariantPointerEXT glVariantPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void VariantsvEXT(UInt32 id, Int16* addr); @@ -4883,7 +4883,7 @@ namespace OpenTK.Graphics internal unsafe delegate void Vertex4sv(Int16* v); internal unsafe static Vertex4sv glVertex4sv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexArrayParameteriAPPLE(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param); + internal delegate void VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param); internal static VertexArrayParameteriAPPLE glVertexArrayParameteriAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer); @@ -5210,7 +5210,7 @@ namespace OpenTK.Graphics internal unsafe delegate void VertexAttrib4usvARB(UInt32 index, UInt16* v); internal unsafe static VertexAttrib4usvARB glVertexAttrib4usvARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); + internal delegate void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); internal static VertexAttribArrayObjectATI glVertexAttribArrayObjectATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); @@ -5336,19 +5336,19 @@ namespace OpenTK.Graphics internal unsafe delegate void VertexAttribI4usvEXT(UInt32 index, UInt16* v); internal unsafe static VertexAttribI4usvEXT glVertexAttribI4usvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribParameter type, Int32 stride, IntPtr pointer); internal static VertexAttribIPointer glVertexAttribIPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); internal static VertexAttribIPointerEXT glVertexAttribIPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); internal static VertexAttribPointer glVertexAttribPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); internal static VertexAttribPointerARB glVertexAttribPointerARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); internal static VertexAttribPointerNV glVertexAttribPointerNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); @@ -5405,118 +5405,118 @@ namespace OpenTK.Graphics internal delegate void VertexBlendARB(Int32 count); internal static VertexBlendARB glVertexBlendARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBlendEnvfATI(OpenTK.Graphics.AtiVertexStreams pname, Single param); + internal delegate void VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param); internal static VertexBlendEnvfATI glVertexBlendEnvfATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexBlendEnviATI(OpenTK.Graphics.AtiVertexStreams pname, Int32 param); + internal delegate void VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param); internal static VertexBlendEnviATI glVertexBlendEnviATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer); + internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer); internal static VertexPointer glVertexPointer; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointerEXT(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + internal delegate void VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); internal static VertexPointerEXT glVertexPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointerListIBM(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + internal delegate void VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); internal static VertexPointerListIBM glVertexPointerListIBM; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + internal delegate void VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer); internal static VertexPointervINTEL glVertexPointervINTEL; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x); + internal delegate void VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x); internal static VertexStream1dATI glVertexStream1dATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal unsafe delegate void VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); internal unsafe static VertexStream1dvATI glVertexStream1dvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x); + internal delegate void VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x); internal static VertexStream1fATI glVertexStream1fATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal unsafe delegate void VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); internal unsafe static VertexStream1fvATI glVertexStream1fvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x); + internal delegate void VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x); internal static VertexStream1iATI glVertexStream1iATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal unsafe delegate void VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); internal unsafe static VertexStream1ivATI glVertexStream1ivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream1sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x); + internal delegate void VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x); internal static VertexStream1sATI glVertexStream1sATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream1svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal unsafe delegate void VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); internal unsafe static VertexStream1svATI glVertexStream1svATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y); + internal delegate void VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y); internal static VertexStream2dATI glVertexStream2dATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal unsafe delegate void VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); internal unsafe static VertexStream2dvATI glVertexStream2dvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y); + internal delegate void VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y); internal static VertexStream2fATI glVertexStream2fATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal unsafe delegate void VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); internal unsafe static VertexStream2fvATI glVertexStream2fvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y); + internal delegate void VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y); internal static VertexStream2iATI glVertexStream2iATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal unsafe delegate void VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); internal unsafe static VertexStream2ivATI glVertexStream2ivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream2sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y); + internal delegate void VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y); internal static VertexStream2sATI glVertexStream2sATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream2svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal unsafe delegate void VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); internal unsafe static VertexStream2svATI glVertexStream2svATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z); + internal delegate void VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z); internal static VertexStream3dATI glVertexStream3dATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal unsafe delegate void VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); internal unsafe static VertexStream3dvATI glVertexStream3dvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z); + internal delegate void VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z); internal static VertexStream3fATI glVertexStream3fATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal unsafe delegate void VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); internal unsafe static VertexStream3fvATI glVertexStream3fvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); + internal delegate void VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); internal static VertexStream3iATI glVertexStream3iATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal unsafe delegate void VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); internal unsafe static VertexStream3ivATI glVertexStream3ivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream3sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); + internal delegate void VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); internal static VertexStream3sATI glVertexStream3sATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal unsafe delegate void VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); internal unsafe static VertexStream3svATI glVertexStream3svATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z, Double w); + internal delegate void VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w); internal static VertexStream4dATI glVertexStream4dATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + internal unsafe delegate void VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords); internal unsafe static VertexStream4dvATI glVertexStream4dvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z, Single w); + internal delegate void VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w); internal static VertexStream4fATI glVertexStream4fATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + internal unsafe delegate void VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords); internal unsafe static VertexStream4fvATI glVertexStream4fvATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); + internal delegate void VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); internal static VertexStream4iATI glVertexStream4iATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + internal unsafe delegate void VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords); internal unsafe static VertexStream4ivATI glVertexStream4ivATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexStream4sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); + internal delegate void VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); internal static VertexStream4sATI glVertexStream4sATI; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void VertexStream4svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + internal unsafe delegate void VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords); internal unsafe static VertexStream4svATI glVertexStream4svATI; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexWeightfEXT(Single weight); @@ -5531,7 +5531,7 @@ namespace OpenTK.Graphics internal unsafe delegate void VertexWeighthvNV(OpenTK.Half* weight); internal unsafe static VertexWeighthvNV glVertexWeighthvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, IntPtr pointer); + internal delegate void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer); internal static VertexWeightPointerEXT glVertexWeightPointerEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); @@ -5552,7 +5552,7 @@ namespace OpenTK.Graphics internal unsafe delegate void WeightivARB(Int32 size, Int32* weights); internal unsafe static WeightivARB glWeightivARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WeightPointerARB(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer); + internal delegate void WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer); internal static WeightPointerARB glWeightPointerARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void WeightsvARB(Int32 size, Int16* weights); @@ -5735,7 +5735,7 @@ namespace OpenTK.Graphics internal unsafe delegate void WindowPos4svMESA(Int16* v); internal unsafe static WindowPos4svMESA glWindowPos4svMESA; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW); + internal delegate void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); internal static WriteMaskEXT glWriteMaskEXT; } } diff --git a/Source/OpenTK/Graphics/GL/GLEnums.cs b/Source/OpenTK/Graphics/GL/GLEnums.cs index 24a5b058..77a156a9 100644 --- a/Source/OpenTK/Graphics/GL/GLEnums.cs +++ b/Source/OpenTK/Graphics/GL/GLEnums.cs @@ -27,7 +27,7 @@ using System; -namespace OpenTK.Graphics +namespace OpenTK.Graphics.OpenGL { #pragma warning disable 1591 diff --git a/Source/OpenTK/Graphics/GL/GLHelper.cs b/Source/OpenTK/Graphics/GL/GLHelper.cs index cb637bf1..a100ebfc 100644 --- a/Source/OpenTK/Graphics/GL/GLHelper.cs +++ b/Source/OpenTK/Graphics/GL/GLHelper.cs @@ -19,13 +19,7 @@ using System.Reflection.Emit; #endregion -// Add a dummy namespace to keep old code compiling. -namespace OpenTK.Graphics.OpenGL.Enums -{ - internal static class Dummy { } -} - -namespace OpenTK.Graphics +namespace OpenTK.Graphics.OpenGL { /// /// OpenGL bindings for .NET, implementing OpenGL 3.1, plus extensions. @@ -967,7 +961,7 @@ namespace OpenTK.Graphics unsafe { int length; - GL.GetProgram(program, OpenTK.Graphics.ProgramParameter.InfoLogLength, out length); if (length == 0) + GL.GetProgram(program, OpenTK.Graphics.OpenGL.ProgramParameter.InfoLogLength, out length); if (length == 0) { info = String.Empty; return; diff --git a/Source/OpenTK/Graphics/Glu/Glu.cs b/Source/OpenTK/Graphics/Glu/Glu.cs deleted file mode 100644 index 72798845..00000000 --- a/Source/OpenTK/Graphics/Glu/Glu.cs +++ /dev/null @@ -1,1021 +0,0 @@ -namespace OpenTK.Graphics -{ - using System; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - static partial class Glu - { - - public static - void BeginCurve(IntPtr nurb) - { - Delegates.gluBeginCurve((IntPtr)nurb); - } - - public static - void BeginPolygon(IntPtr tess) - { - Delegates.gluBeginPolygon((IntPtr)tess); - } - - public static - void BeginSurface(IntPtr nurb) - { - Delegates.gluBeginSurface((IntPtr)nurb); - } - - public static - void BeginTrim(IntPtr nurb) - { - Delegates.gluBeginTrim((IntPtr)nurb); - } - - public static - Int32 Build1DMipmapLevel(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data) - { - unsafe - { - return Delegates.gluBuild1DMipmapLevels((TextureTarget)target, (Int32)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data); - } - } - - public static - Int32 Build1DMipmapLevel(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluBuild1DMipmapLevels((TextureTarget)target, (Int32)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - Int32 Build1DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, IntPtr data) - { - unsafe - { - return Delegates.gluBuild1DMipmaps((TextureTarget)target, (Int32)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)data); - } - } - - public static - Int32 Build1DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluBuild1DMipmaps((TextureTarget)target, (Int32)internalFormat, (Int32)width, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - Int32 Build2DMipmapLevel(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data) - { - unsafe - { - return Delegates.gluBuild2DMipmapLevels((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data); - } - } - - public static - Int32 Build2DMipmapLevel(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluBuild2DMipmapLevels((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - Int32 Build2DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr data) - { - unsafe - { - return Delegates.gluBuild2DMipmaps((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)data); - } - } - - public static - Int32 Build2DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluBuild2DMipmaps((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - Int32 Build3DMipmapLevel(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data) - { - unsafe - { - return Delegates.gluBuild3DMipmapLevels((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data); - } - } - - public static - Int32 Build3DMipmapLevel(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluBuild3DMipmapLevels((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (Int32)level, (Int32)@base, (Int32)max, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - Int32 Build3DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr data) - { - unsafe - { - return Delegates.gluBuild3DMipmaps((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)data); - } - } - - public static - Int32 Build3DMipmap(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluBuild3DMipmaps((TextureTarget)target, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (PixelFormat)format, (PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - bool CheckExtension(Byte[] extName, Byte[] extString) - { - unsafe - { - fixed (Byte* extName_ptr = extName) - fixed (Byte* extString_ptr = extString) - { - return Delegates.gluCheckExtension((Byte*)extName_ptr, (Byte*)extString_ptr); - } - } - } - - public static - bool CheckExtension(ref Byte extName, ref Byte extString) - { - unsafe - { - fixed (Byte* extName_ptr = &extName) - fixed (Byte* extString_ptr = &extString) - { - return Delegates.gluCheckExtension((Byte*)extName_ptr, (Byte*)extString_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe bool CheckExtension(Byte* extName, Byte* extString) - { - return Delegates.gluCheckExtension((Byte*)extName, (Byte*)extString); - } - - public static - void Cylinder(IntPtr quad, double @base, double top, double height, Int32 slices, Int32 stacks) - { - Delegates.gluCylinder((IntPtr)quad, (double)@base, (double)top, (double)height, (Int32)slices, (Int32)stacks); - } - - public static - void DeleteNurbsRenderer(IntPtr nurb) - { - Delegates.gluDeleteNurbsRenderer((IntPtr)nurb); - } - - public static - void DeleteQuadric(IntPtr quad) - { - Delegates.gluDeleteQuadric((IntPtr)quad); - } - - public static - void DeleteTess(IntPtr tess) - { - Delegates.gluDeleteTess((IntPtr)tess); - } - - public static - void Disk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops) - { - Delegates.gluDisk((IntPtr)quad, (double)inner, (double)outer, (Int32)slices, (Int32)loops); - } - - public static - void EndCurve(IntPtr nurb) - { - Delegates.gluEndCurve((IntPtr)nurb); - } - - public static - void EndPolygon(IntPtr tess) - { - Delegates.gluEndPolygon((IntPtr)tess); - } - - public static - void EndSurface(IntPtr nurb) - { - Delegates.gluEndSurface((IntPtr)nurb); - } - - public static - void EndTrim(IntPtr nurb) - { - Delegates.gluEndTrim((IntPtr)nurb); - } - - public static - string ErrorString(OpenTK.Graphics.GluErrorCode error) - { - unsafe - { - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.gluErrorString((OpenTK.Graphics.GluErrorCode)error)); - } - } - - public static - string GetString(OpenTK.Graphics.GluStringName name) - { - unsafe - { - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.gluGetString((OpenTK.Graphics.GluStringName)name)); - } - } - - public static - void GetNurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, [Out] float[] data) - { - unsafe - { - fixed (float* data_ptr = data) - { - Delegates.gluGetNurbsProperty((IntPtr)nurb, (OpenTK.Graphics.NurbsProperty)property, (float*)data_ptr); - } - } - } - - public static - void GetNurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, [Out] out float data) - { - unsafe - { - fixed (float* data_ptr = &data) - { - Delegates.gluGetNurbsProperty((IntPtr)nurb, (OpenTK.Graphics.NurbsProperty)property, (float*)data_ptr); - data = *data_ptr; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void GetNurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, [Out] float* data) - { - Delegates.gluGetNurbsProperty((IntPtr)nurb, (OpenTK.Graphics.NurbsProperty)property, (float*)data); - } - - public static - void GetTessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, [Out] double[] data) - { - unsafe - { - fixed (double* data_ptr = data) - { - Delegates.gluGetTessProperty((IntPtr)tess, (OpenTK.Graphics.TessParameter)which, (double*)data_ptr); - } - } - } - - public static - void GetTessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, [Out] out double data) - { - unsafe - { - fixed (double* data_ptr = &data) - { - Delegates.gluGetTessProperty((IntPtr)tess, (OpenTK.Graphics.TessParameter)which, (double*)data_ptr); - data = *data_ptr; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void GetTessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, [Out] double* data) - { - Delegates.gluGetTessProperty((IntPtr)tess, (OpenTK.Graphics.TessParameter)which, (double*)data); - } - - public static - void LoadSamplingMatrices(IntPtr nurb, float[] model, float[] perspective, Int32[] view) - { - unsafe - { - fixed (float* model_ptr = model) - fixed (float* perspective_ptr = perspective) - fixed (Int32* view_ptr = view) - { - Delegates.gluLoadSamplingMatrices((IntPtr)nurb, (float*)model_ptr, (float*)perspective_ptr, (Int32*)view_ptr); - } - } - } - - public static - void LoadSamplingMatrices(IntPtr nurb, ref float model, ref float perspective, ref Int32 view) - { - unsafe - { - fixed (float* model_ptr = &model) - fixed (float* perspective_ptr = &perspective) - fixed (Int32* view_ptr = &view) - { - Delegates.gluLoadSamplingMatrices((IntPtr)nurb, (float*)model_ptr, (float*)perspective_ptr, (Int32*)view_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void LoadSamplingMatrices(IntPtr nurb, float* model, float* perspective, Int32* view) - { - Delegates.gluLoadSamplingMatrices((IntPtr)nurb, (float*)model, (float*)perspective, (Int32*)view); - } - - public static - void LookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ) - { - Delegates.gluLookAt((double)eyeX, (double)eyeY, (double)eyeZ, (double)centerX, (double)centerY, (double)centerZ, (double)upX, (double)upY, (double)upZ); - } - - public static - IntPtr NewNurbsRenderer() - { - return Delegates.gluNewNurbsRenderer(); - } - - public static - IntPtr NewQuadric() - { - return Delegates.gluNewQuadric(); - } - - public static - IntPtr NewTess() - { - return Delegates.gluNewTess(); - } - - public static - void NextContour(IntPtr tess, OpenTK.Graphics.TessContour type) - { - Delegates.gluNextContour((IntPtr)tess, (OpenTK.Graphics.TessContour)type); - } - - public static - void NurbsCallback(IntPtr nurb, OpenTK.Graphics.NurbsCallback which, Delegate CallBackFunc) - { - Delegates.gluNurbsCallback((IntPtr)nurb, (OpenTK.Graphics.NurbsCallback)which, (Delegate)CallBackFunc); - } - - public static - void NurbsCallbackData(IntPtr nurb, IntPtr userData) - { - unsafe - { - Delegates.gluNurbsCallbackData((IntPtr)nurb, (IntPtr)userData); - } - } - - public static - void NurbsCallbackData(IntPtr nurb, [In, Out] object userData) - { - unsafe - { - System.Runtime.InteropServices.GCHandle userData_ptr = System.Runtime.InteropServices.GCHandle.Alloc(userData, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.gluNurbsCallbackData((IntPtr)nurb, (IntPtr)userData_ptr.AddrOfPinnedObject()); - } - finally - { - userData_ptr.Free(); - } - } - } - - public static - void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float[] knots, Int32 stride, [Out] float[] control, Int32 order, MapTarget type) - { - unsafe - { - fixed (float* knots_ptr = knots) - fixed (float* control_ptr = control) - { - Delegates.gluNurbsCurve((IntPtr)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (MapTarget)type); - } - } - } - - public static - void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] out float knots, Int32 stride, [Out] out float control, Int32 order, MapTarget type) - { - unsafe - { - fixed (float* knots_ptr = &knots) - fixed (float* control_ptr = &control) - { - Delegates.gluNurbsCurve((IntPtr)nurb, (Int32)knotCount, (float*)knots_ptr, (Int32)stride, (float*)control_ptr, (Int32)order, (MapTarget)type); - knots = *knots_ptr; - control = *control_ptr; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, MapTarget type) - { - Delegates.gluNurbsCurve((IntPtr)nurb, (Int32)knotCount, (float*)knots, (Int32)stride, (float*)control, (Int32)order, (MapTarget)type); - } - - public static - void NurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, float value) - { - Delegates.gluNurbsProperty((IntPtr)nurb, (OpenTK.Graphics.NurbsProperty)property, (float)value); - } - - public static - void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float[] sKnots, Int32 tKnotCount, float[] tKnots, Int32 sStride, Int32 tStride, float[] control, Int32 sOrder, Int32 tOrder, MapTarget type) - { - unsafe - { - fixed (float* sKnots_ptr = sKnots) - fixed (float* tKnots_ptr = tKnots) - fixed (float* control_ptr = control) - { - Delegates.gluNurbsSurface((IntPtr)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (MapTarget)type); - } - } - } - - public static - void NurbsSurface(IntPtr nurb, Int32 sKnotCount, ref float sKnots, Int32 tKnotCount, ref float tKnots, Int32 sStride, Int32 tStride, ref float control, Int32 sOrder, Int32 tOrder, MapTarget type) - { - unsafe - { - fixed (float* sKnots_ptr = &sKnots) - fixed (float* tKnots_ptr = &tKnots) - fixed (float* control_ptr = &control) - { - Delegates.gluNurbsSurface((IntPtr)nurb, (Int32)sKnotCount, (float*)sKnots_ptr, (Int32)tKnotCount, (float*)tKnots_ptr, (Int32)sStride, (Int32)tStride, (float*)control_ptr, (Int32)sOrder, (Int32)tOrder, (MapTarget)type); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, MapTarget type) - { - Delegates.gluNurbsSurface((IntPtr)nurb, (Int32)sKnotCount, (float*)sKnots, (Int32)tKnotCount, (float*)tKnots, (Int32)sStride, (Int32)tStride, (float*)control, (Int32)sOrder, (Int32)tOrder, (MapTarget)type); - } - - public static - void Ortho2D(double left, double right, double bottom, double top) - { - Delegates.gluOrtho2D((double)left, (double)right, (double)bottom, (double)top); - } - - public static - void PartialDisk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep) - { - Delegates.gluPartialDisk((IntPtr)quad, (double)inner, (double)outer, (Int32)slices, (Int32)loops, (double)start, (double)sweep); - } - - public static - void Perspective(double fovy, double aspect, double zNear, double zFar) - { - Delegates.gluPerspective((double)fovy, (double)aspect, (double)zNear, (double)zFar); - } - - public static - void PickMatrix(double x, double y, double delX, double delY, [Out] Int32[] viewport) - { - unsafe - { - fixed (Int32* viewport_ptr = viewport) - { - Delegates.gluPickMatrix((double)x, (double)y, (double)delX, (double)delY, (Int32*)viewport_ptr); - } - } - } - - public static - void PickMatrix(double x, double y, double delX, double delY, [Out] out Int32 viewport) - { - unsafe - { - fixed (Int32* viewport_ptr = &viewport) - { - Delegates.gluPickMatrix((double)x, (double)y, (double)delX, (double)delY, (Int32*)viewport_ptr); - viewport = *viewport_ptr; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void PickMatrix(double x, double y, double delX, double delY, [Out] Int32* viewport) - { - Delegates.gluPickMatrix((double)x, (double)y, (double)delX, (double)delY, (Int32*)viewport); - } - - public static - Int32 Project(double objX, double objY, double objZ, double[] model, double[] proj, Int32[] view, double[] winX, double[] winY, double[] winZ) - { - unsafe - { - fixed (double* model_ptr = model) - fixed (double* proj_ptr = proj) - fixed (Int32* view_ptr = view) - fixed (double* winX_ptr = winX) - fixed (double* winY_ptr = winY) - fixed (double* winZ_ptr = winZ) - { - return Delegates.gluProject((double)objX, (double)objY, (double)objZ, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double*)winX_ptr, (double*)winY_ptr, (double*)winZ_ptr); - } - } - } - - public static - Int32 Project(double objX, double objY, double objZ, ref double model, ref double proj, ref Int32 view, ref double winX, ref double winY, ref double winZ) - { - unsafe - { - fixed (double* model_ptr = &model) - fixed (double* proj_ptr = &proj) - fixed (Int32* view_ptr = &view) - fixed (double* winX_ptr = &winX) - fixed (double* winY_ptr = &winY) - fixed (double* winZ_ptr = &winZ) - { - return Delegates.gluProject((double)objX, (double)objY, (double)objZ, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double*)winX_ptr, (double*)winY_ptr, (double*)winZ_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ) - { - return Delegates.gluProject((double)objX, (double)objY, (double)objZ, (double*)model, (double*)proj, (Int32*)view, (double*)winX, (double*)winY, (double*)winZ); - } - - public static - void PwlCurve(IntPtr nurb, Int32 count, float[] data, Int32 stride, OpenTK.Graphics.NurbsTrim type) - { - unsafe - { - fixed (float* data_ptr = data) - { - Delegates.gluPwlCurve((IntPtr)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.Graphics.NurbsTrim)type); - } - } - } - - public static - void PwlCurve(IntPtr nurb, Int32 count, ref float data, Int32 stride, OpenTK.Graphics.NurbsTrim type) - { - unsafe - { - fixed (float* data_ptr = &data) - { - Delegates.gluPwlCurve((IntPtr)nurb, (Int32)count, (float*)data_ptr, (Int32)stride, (OpenTK.Graphics.NurbsTrim)type); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void PwlCurve(IntPtr nurb, Int32 count, float* data, Int32 stride, OpenTK.Graphics.NurbsTrim type) - { - Delegates.gluPwlCurve((IntPtr)nurb, (Int32)count, (float*)data, (Int32)stride, (OpenTK.Graphics.NurbsTrim)type); - } - - public static - void QuadricCallback(IntPtr quad, OpenTK.Graphics.QuadricCallback which, Delegate CallBackFunc) - { - Delegates.gluQuadricCallback((IntPtr)quad, (OpenTK.Graphics.QuadricCallback)which, (Delegate)CallBackFunc); - } - - public static - void QuadricDrawStyle(IntPtr quad, OpenTK.Graphics.QuadricDrawStyle draw) - { - Delegates.gluQuadricDrawStyle((IntPtr)quad, (OpenTK.Graphics.QuadricDrawStyle)draw); - } - - public static - void QuadricNormal(IntPtr quad, OpenTK.Graphics.QuadricNormal normal) - { - Delegates.gluQuadricNormals((IntPtr)quad, (OpenTK.Graphics.QuadricNormal)normal); - } - - public static - void QuadricOrientation(IntPtr quad, OpenTK.Graphics.QuadricOrientation orientation) - { - Delegates.gluQuadricOrientation((IntPtr)quad, (OpenTK.Graphics.QuadricOrientation)orientation); - } - - public static - void QuadricTexture(IntPtr quad, bool texture) - { - Delegates.gluQuadricTexture((IntPtr)quad, (bool)texture); - } - - public static - Int32 ScaleImage(PixelFormat format, Int32 wIn, Int32 hIn, PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, PixelType typeOut, [Out] IntPtr dataOut) - { - unsafe - { - return Delegates.gluScaleImage((PixelFormat)format, (Int32)wIn, (Int32)hIn, (PixelType)typeIn, (IntPtr)dataIn, (Int32)wOut, (Int32)hOut, (PixelType)typeOut, (IntPtr)dataOut); - } - } - - public static - Int32 ScaleImage(PixelFormat format, Int32 wIn, Int32 hIn, PixelType typeIn, [In, Out] object dataIn, Int32 wOut, Int32 hOut, PixelType typeOut, [In, Out] object dataOut) - { - unsafe - { - System.Runtime.InteropServices.GCHandle dataIn_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataIn, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle dataOut_ptr = System.Runtime.InteropServices.GCHandle.Alloc(dataOut, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - return Delegates.gluScaleImage((PixelFormat)format, (Int32)wIn, (Int32)hIn, (PixelType)typeIn, (IntPtr)dataIn_ptr.AddrOfPinnedObject(), (Int32)wOut, (Int32)hOut, (PixelType)typeOut, (IntPtr)dataOut_ptr.AddrOfPinnedObject()); - } - finally - { - dataIn_ptr.Free(); - dataOut_ptr.Free(); - } - } - } - - public static - void Sphere(IntPtr quad, double radius, Int32 slices, Int32 stacks) - { - Delegates.gluSphere((IntPtr)quad, (double)radius, (Int32)slices, (Int32)stacks); - } - - public static - void TessBeginContour(IntPtr tess) - { - Delegates.gluTessBeginContour((IntPtr)tess); - } - - public static - void TessBeginPolygon(IntPtr tess, IntPtr data) - { - unsafe - { - Delegates.gluTessBeginPolygon((IntPtr)tess, (IntPtr)data); - } - } - - public static - void TessBeginPolygon(IntPtr tess, [In, Out] object data) - { - unsafe - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.gluTessBeginPolygon((IntPtr)tess, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - - public static - void TessCallback(IntPtr tess, OpenTK.Graphics.TessCallback which, Delegate CallBackFunc) - { - Delegates.gluTessCallback((IntPtr)tess, (OpenTK.Graphics.TessCallback)which, (Delegate)CallBackFunc); - } - - public static - void TessEndContour(IntPtr tess) - { - Delegates.gluTessEndContour((IntPtr)tess); - } - - public static - void TessEndPolygon(IntPtr tess) - { - Delegates.gluTessEndPolygon((IntPtr)tess); - } - - public static - void TessNormal(IntPtr tess, double valueX, double valueY, double valueZ) - { - Delegates.gluTessNormal((IntPtr)tess, (double)valueX, (double)valueY, (double)valueZ); - } - - public static - void TessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, double data) - { - Delegates.gluTessProperty((IntPtr)tess, (OpenTK.Graphics.TessParameter)which, (double)data); - } - - public static - void TessVertex(IntPtr tess, double[] location, IntPtr data) - { - unsafe - { - fixed (double* location_ptr = location) - { - Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data); - } - } - } - - public static - void TessVertex(IntPtr tess, double[] location, [In, Out] object data) - { - unsafe - { - fixed (double* location_ptr = location) - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - } - - public static - void TessVertex(IntPtr tess, ref double location, IntPtr data) - { - unsafe - { - fixed (double* location_ptr = &location) - { - Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data); - } - } - } - - public static - void TessVertex(IntPtr tess, ref double location, [In, Out] object data) - { - unsafe - { - fixed (double* location_ptr = &location) - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.gluTessVertex((IntPtr)tess, (double*)location_ptr, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe void TessVertex(IntPtr tess, double* location, IntPtr data) - { - Delegates.gluTessVertex((IntPtr)tess, (double*)location, (IntPtr)data); - } - - [System.CLSCompliant(false)] - public static - unsafe void TessVertex(IntPtr tess, double* location, [In, Out] object data) - { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.gluTessVertex((IntPtr)tess, (double*)location, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - } - - public static - Int32 UnProject(double winX, double winY, double winZ, double[] model, double[] proj, Int32[] view, double[] objX, double[] objY, double[] objZ) - { - unsafe - { - fixed (double* model_ptr = model) - fixed (double* proj_ptr = proj) - fixed (Int32* view_ptr = view) - fixed (double* objX_ptr = objX) - fixed (double* objY_ptr = objY) - fixed (double* objZ_ptr = objZ) - { - return Delegates.gluUnProject((double)winX, (double)winY, (double)winZ, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double*)objX_ptr, (double*)objY_ptr, (double*)objZ_ptr); - } - } - } - - public static - Int32 UnProject(double winX, double winY, double winZ, ref double model, ref double proj, ref Int32 view, ref double objX, ref double objY, ref double objZ) - { - unsafe - { - fixed (double* model_ptr = &model) - fixed (double* proj_ptr = &proj) - fixed (Int32* view_ptr = &view) - fixed (double* objX_ptr = &objX) - fixed (double* objY_ptr = &objY) - fixed (double* objZ_ptr = &objZ) - { - return Delegates.gluUnProject((double)winX, (double)winY, (double)winZ, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double*)objX_ptr, (double*)objY_ptr, (double*)objZ_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ) - { - return Delegates.gluUnProject((double)winX, (double)winY, (double)winZ, (double*)model, (double*)proj, (Int32*)view, (double*)objX, (double*)objY, (double*)objZ); - } - - public static - Int32 UnProject4(double winX, double winY, double winZ, double clipW, double[] model, double[] proj, Int32[] view, double near, double far, double[] objX, double[] objY, double[] objZ, double[] objW) - { - unsafe - { - fixed (double* model_ptr = model) - fixed (double* proj_ptr = proj) - fixed (Int32* view_ptr = view) - fixed (double* objX_ptr = objX) - fixed (double* objY_ptr = objY) - fixed (double* objZ_ptr = objZ) - fixed (double* objW_ptr = objW) - { - return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double)near, (double)far, (double*)objX_ptr, (double*)objY_ptr, (double*)objZ_ptr, (double*)objW_ptr); - } - } - } - - public static - Int32 UnProject4(double winX, double winY, double winZ, double clipW, ref double model, ref double proj, ref Int32 view, double near, double far, ref double objX, ref double objY, ref double objZ, ref double objW) - { - unsafe - { - fixed (double* model_ptr = &model) - fixed (double* proj_ptr = &proj) - fixed (Int32* view_ptr = &view) - fixed (double* objX_ptr = &objX) - fixed (double* objY_ptr = &objY) - fixed (double* objZ_ptr = &objZ) - fixed (double* objW_ptr = &objW) - { - return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double)near, (double)far, (double*)objX_ptr, (double*)objY_ptr, (double*)objZ_ptr, (double*)objW_ptr); - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Int32 UnProject4(double winX, double winY, double winZ, double clipW, double* model, double* proj, Int32* view, double near, double far, double* objX, double* objY, double* objZ, double* objW) - { - return Delegates.gluUnProject4((double)winX, (double)winY, (double)winZ, (double)clipW, (double*)model, (double*)proj, (Int32*)view, (double)near, (double)far, (double*)objX, (double*)objY, (double*)objZ, (double*)objW); - } - - public static partial class Ext - { - public static - void NurbsCallbackData(IntPtr nurb, IntPtr userData) - { - unsafe - { - Delegates.gluNurbsCallbackDataEXT((IntPtr)nurb, (IntPtr)userData); - } - } - - public static - void NurbsCallbackData(IntPtr nurb, [In, Out] object userData) - { - unsafe - { - System.Runtime.InteropServices.GCHandle userData_ptr = System.Runtime.InteropServices.GCHandle.Alloc(userData, System.Runtime.InteropServices.GCHandleType.Pinned); - try - { - Delegates.gluNurbsCallbackDataEXT((IntPtr)nurb, (IntPtr)userData_ptr.AddrOfPinnedObject()); - } - finally - { - userData_ptr.Free(); - } - } - } - - } - - public static partial class Sgi - { - public static - Int32 TexFilterFunc(TextureTarget target, SgisTextureFilter4 filtertype, float[] parms, Int32 n, [Out] float[] weights) - { - unsafe - { - fixed (float* parms_ptr = parms) - fixed (float* weights_ptr = weights) - { - return Delegates.gluTexFilterFuncSGI((TextureTarget)target, (SgisTextureFilter4)filtertype, (float*)parms_ptr, (Int32)n, (float*)weights_ptr); - } - } - } - - public static - Int32 TexFilterFunc(TextureTarget target, SgisTextureFilter4 filtertype, ref float parms, Int32 n, [Out] out float weights) - { - unsafe - { - fixed (float* parms_ptr = &parms) - fixed (float* weights_ptr = &weights) - { - Int32 retval = Delegates.gluTexFilterFuncSGI((TextureTarget)target, (SgisTextureFilter4)filtertype, (float*)parms_ptr, (Int32)n, (float*)weights_ptr); - weights = *weights_ptr; - return retval; - } - } - } - - [System.CLSCompliant(false)] - public static - unsafe Int32 TexFilterFunc(TextureTarget target, SgisTextureFilter4 filtertype, float* parms, Int32 n, [Out] float* weights) - { - return Delegates.gluTexFilterFuncSGI((TextureTarget)target, (SgisTextureFilter4)filtertype, (float*)parms, (Int32)n, (float*)weights); - } - - } - - } -} diff --git a/Source/OpenTK/Graphics/Glu/GluCore.cs b/Source/OpenTK/Graphics/Glu/GluCore.cs deleted file mode 100644 index ed86799e..00000000 --- a/Source/OpenTK/Graphics/Glu/GluCore.cs +++ /dev/null @@ -1,190 +0,0 @@ -namespace OpenTK.Graphics -{ - using System; - using System.Runtime.InteropServices; - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class Glu - { - [Obsolete] - internal static partial class Imports - { - - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginCurve", ExactSpelling = true)] - internal extern static void BeginCurve(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginPolygon", ExactSpelling = true)] - internal extern static void BeginPolygon(IntPtr tess); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginSurface", ExactSpelling = true)] - internal extern static void BeginSurface(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBeginTrim", ExactSpelling = true)] - internal extern static void BeginTrim(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmapLevels", ExactSpelling = true)] - internal extern static Int32 Build1DMipmapLevels(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild1DMipmaps", ExactSpelling = true)] - internal extern static Int32 Build1DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild2DMipmapLevels", ExactSpelling = true)] - internal extern static Int32 Build2DMipmapLevels(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild2DMipmaps", ExactSpelling = true)] - internal extern static Int32 Build2DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild3DMipmapLevels", ExactSpelling = true)] - internal extern static Int32 Build3DMipmapLevels(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluBuild3DMipmaps", ExactSpelling = true)] - internal extern static Int32 Build3DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCheckExtension", ExactSpelling = true)] - internal extern static unsafe bool CheckExtension(Byte* extName, Byte* extString); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluCylinder", ExactSpelling = true)] - internal extern static void Cylinder(IntPtr quad, double @base, double top, double height, Int32 slices, Int32 stacks); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDeleteNurbsRenderer", ExactSpelling = true)] - internal extern static void DeleteNurbsRenderer(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDeleteQuadric", ExactSpelling = true)] - internal extern static void DeleteQuadric(IntPtr quad); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDeleteTess", ExactSpelling = true)] - internal extern static void DeleteTess(IntPtr tess); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluDisk", ExactSpelling = true)] - internal extern static void Disk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndCurve", ExactSpelling = true)] - internal extern static void EndCurve(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndPolygon", ExactSpelling = true)] - internal extern static void EndPolygon(IntPtr tess); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndSurface", ExactSpelling = true)] - internal extern static void EndSurface(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluEndTrim", ExactSpelling = true)] - internal extern static void EndTrim(IntPtr nurb); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluErrorString", ExactSpelling = true)] - internal extern static IntPtr ErrorString(OpenTK.Graphics.GluErrorCode error); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetString", ExactSpelling = true)] - internal extern static IntPtr GetString(OpenTK.Graphics.GluStringName name); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetNurbsProperty", ExactSpelling = true)] - internal extern static unsafe void GetNurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, [Out] float* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluGetTessProperty", ExactSpelling = true)] - internal extern static unsafe void GetTessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, [Out] double* data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLoadSamplingMatrices", ExactSpelling = true)] - internal extern static unsafe void LoadSamplingMatrices(IntPtr nurb, float* model, float* perspective, Int32* view); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluLookAt", ExactSpelling = true)] - internal extern static void LookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNewNurbsRenderer", ExactSpelling = true)] - internal extern static IntPtr NewNurbsRenderer(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNewQuadric", ExactSpelling = true)] - internal extern static IntPtr NewQuadric(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNewTess", ExactSpelling = true)] - internal extern static IntPtr NewTess(); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNextContour", ExactSpelling = true)] - internal extern static void NextContour(IntPtr tess, OpenTK.Graphics.TessContour type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallback", ExactSpelling = true)] - internal extern static void NurbsCallback(IntPtr nurb, OpenTK.Graphics.NurbsCallback which, Delegate CallBackFunc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCallbackData", ExactSpelling = true)] - internal extern static void NurbsCallbackData(IntPtr nurb, IntPtr userData); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsCurve", ExactSpelling = true)] - internal extern static unsafe void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, MapTarget type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsProperty", ExactSpelling = true)] - internal extern static void NurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, float value); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluNurbsSurface", ExactSpelling = true)] - internal extern static unsafe void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, MapTarget type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluOrtho2D", ExactSpelling = true)] - internal extern static void Ortho2D(double left, double right, double bottom, double top); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPartialDisk", ExactSpelling = true)] - internal extern static void PartialDisk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPerspective", ExactSpelling = true)] - internal extern static void Perspective(double fovy, double aspect, double zNear, double zFar); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPickMatrix", ExactSpelling = true)] - internal extern static unsafe void PickMatrix(double x, double y, double delX, double delY, [Out] Int32* viewport); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluProject", ExactSpelling = true)] - internal extern static unsafe Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluPwlCurve", ExactSpelling = true)] - internal extern static unsafe void PwlCurve(IntPtr nurb, Int32 count, float* data, Int32 stride, OpenTK.Graphics.NurbsTrim type); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricCallback", ExactSpelling = true)] - internal extern static void QuadricCallback(IntPtr quad, OpenTK.Graphics.QuadricCallback which, Delegate CallBackFunc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricDrawStyle", ExactSpelling = true)] - internal extern static void QuadricDrawStyle(IntPtr quad, OpenTK.Graphics.QuadricDrawStyle draw); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricNormals", ExactSpelling = true)] - internal extern static void QuadricNormals(IntPtr quad, OpenTK.Graphics.QuadricNormal normal); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricOrientation", ExactSpelling = true)] - internal extern static void QuadricOrientation(IntPtr quad, OpenTK.Graphics.QuadricOrientation orientation); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluQuadricTexture", ExactSpelling = true)] - internal extern static void QuadricTexture(IntPtr quad, bool texture); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluScaleImage", ExactSpelling = true)] - internal extern static Int32 ScaleImage(PixelFormat format, Int32 wIn, Int32 hIn, PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, PixelType typeOut, [Out] IntPtr dataOut); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluSphere", ExactSpelling = true)] - internal extern static void Sphere(IntPtr quad, double radius, Int32 slices, Int32 stacks); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessBeginContour", ExactSpelling = true)] - internal extern static void TessBeginContour(IntPtr tess); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessBeginPolygon", ExactSpelling = true)] - internal extern static void TessBeginPolygon(IntPtr tess, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessCallback", ExactSpelling = true)] - internal extern static void TessCallback(IntPtr tess, OpenTK.Graphics.TessCallback which, Delegate CallBackFunc); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndContour", ExactSpelling = true)] - internal extern static void TessEndContour(IntPtr tess); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessEndPolygon", ExactSpelling = true)] - internal extern static void TessEndPolygon(IntPtr tess); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessNormal", ExactSpelling = true)] - internal extern static void TessNormal(IntPtr tess, double valueX, double valueY, double valueZ); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessProperty", ExactSpelling = true)] - internal extern static void TessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, double data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluTessVertex", ExactSpelling = true)] - internal extern static unsafe void TessVertex(IntPtr tess, double* location, IntPtr data); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluUnProject", ExactSpelling = true)] - internal extern static unsafe Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ); - [System.Security.SuppressUnmanagedCodeSecurity()] - [System.Runtime.InteropServices.DllImport(Glu.Library, EntryPoint = "gluUnProject4", ExactSpelling = true)] - internal extern static unsafe Int32 UnProject4(double winX, double winY, double winZ, double clipW, double* model, double* proj, Int32* view, double near, double far, double* objX, double* objY, double* objZ, double* objW); - } - } -} diff --git a/Source/OpenTK/Graphics/Glu/GluDelegates.cs b/Source/OpenTK/Graphics/Glu/GluDelegates.cs deleted file mode 100644 index 0ebbe3b0..00000000 --- a/Source/OpenTK/Graphics/Glu/GluDelegates.cs +++ /dev/null @@ -1,195 +0,0 @@ -namespace OpenTK.Graphics -{ - using System; - using System.Runtime.InteropServices; - #pragma warning disable 0649 - #pragma warning disable 3019 - #pragma warning disable 1591 - - partial class Glu - { - internal static partial class Delegates - { - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginCurve(IntPtr nurb); - internal static BeginCurve gluBeginCurve; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginPolygon(IntPtr tess); - internal static BeginPolygon gluBeginPolygon; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginSurface(IntPtr nurb); - internal static BeginSurface gluBeginSurface; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BeginTrim(IntPtr nurb); - internal static BeginTrim gluBeginTrim; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 Build1DMipmapLevels(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); - internal static Build1DMipmapLevels gluBuild1DMipmapLevels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 Build1DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, PixelFormat format, PixelType type, IntPtr data); - internal static Build1DMipmaps gluBuild1DMipmaps; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 Build2DMipmapLevels(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); - internal static Build2DMipmapLevels gluBuild2DMipmapLevels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 Build2DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, PixelFormat format, PixelType type, IntPtr data); - internal static Build2DMipmaps gluBuild2DMipmaps; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 Build3DMipmapLevels(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, Int32 level, Int32 @base, Int32 max, IntPtr data); - internal static Build3DMipmapLevels gluBuild3DMipmapLevels; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 Build3DMipmaps(TextureTarget target, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, PixelFormat format, PixelType type, IntPtr data); - internal static Build3DMipmaps gluBuild3DMipmaps; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate bool CheckExtension(Byte* extName, Byte* extString); - internal unsafe static CheckExtension gluCheckExtension; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Cylinder(IntPtr quad, double @base, double top, double height, Int32 slices, Int32 stacks); - internal static Cylinder gluCylinder; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteNurbsRenderer(IntPtr nurb); - internal static DeleteNurbsRenderer gluDeleteNurbsRenderer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteQuadric(IntPtr quad); - internal static DeleteQuadric gluDeleteQuadric; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DeleteTess(IntPtr tess); - internal static DeleteTess gluDeleteTess; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Disk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops); - internal static Disk gluDisk; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndCurve(IntPtr nurb); - internal static EndCurve gluEndCurve; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndPolygon(IntPtr tess); - internal static EndPolygon gluEndPolygon; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndSurface(IntPtr nurb); - internal static EndSurface gluEndSurface; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void EndTrim(IntPtr nurb); - internal static EndTrim gluEndTrim; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr ErrorString(OpenTK.Graphics.GluErrorCode error); - internal static ErrorString gluErrorString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr GetString(OpenTK.Graphics.GluStringName name); - internal static GetString gluGetString; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, [Out] float* data); - internal unsafe static GetNurbsProperty gluGetNurbsProperty; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetTessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, [Out] double* data); - internal unsafe static GetTessProperty gluGetTessProperty; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void LoadSamplingMatrices(IntPtr nurb, float* model, float* perspective, Int32* view); - internal unsafe static LoadSamplingMatrices gluLoadSamplingMatrices; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void LookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ); - internal static LookAt gluLookAt; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr NewNurbsRenderer(); - internal static NewNurbsRenderer gluNewNurbsRenderer; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr NewQuadric(); - internal static NewQuadric gluNewQuadric; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate IntPtr NewTess(); - internal static NewTess gluNewTess; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NextContour(IntPtr tess, OpenTK.Graphics.TessContour type); - internal static NextContour gluNextContour; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsCallback(IntPtr nurb, OpenTK.Graphics.NurbsCallback which, Delegate CallBackFunc); - internal static NurbsCallback gluNurbsCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsCallbackData(IntPtr nurb, IntPtr userData); - internal static NurbsCallbackData gluNurbsCallbackData; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsCallbackDataEXT(IntPtr nurb, IntPtr userData); - internal static NurbsCallbackDataEXT gluNurbsCallbackDataEXT; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NurbsCurve(IntPtr nurb, Int32 knotCount, [Out] float* knots, Int32 stride, [Out] float* control, Int32 order, MapTarget type); - internal unsafe static NurbsCurve gluNurbsCurve; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void NurbsProperty(IntPtr nurb, OpenTK.Graphics.NurbsProperty property, float value); - internal static NurbsProperty gluNurbsProperty; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void NurbsSurface(IntPtr nurb, Int32 sKnotCount, float* sKnots, Int32 tKnotCount, float* tKnots, Int32 sStride, Int32 tStride, float* control, Int32 sOrder, Int32 tOrder, MapTarget type); - internal unsafe static NurbsSurface gluNurbsSurface; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Ortho2D(double left, double right, double bottom, double top); - internal static Ortho2D gluOrtho2D; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void PartialDisk(IntPtr quad, double inner, double outer, Int32 slices, Int32 loops, double start, double sweep); - internal static PartialDisk gluPartialDisk; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Perspective(double fovy, double aspect, double zNear, double zFar); - internal static Perspective gluPerspective; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PickMatrix(double x, double y, double delX, double delY, [Out] Int32* viewport); - internal unsafe static PickMatrix gluPickMatrix; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 Project(double objX, double objY, double objZ, double* model, double* proj, Int32* view, double* winX, double* winY, double* winZ); - internal unsafe static Project gluProject; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void PwlCurve(IntPtr nurb, Int32 count, float* data, Int32 stride, OpenTK.Graphics.NurbsTrim type); - internal unsafe static PwlCurve gluPwlCurve; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricCallback(IntPtr quad, OpenTK.Graphics.QuadricCallback which, Delegate CallBackFunc); - internal static QuadricCallback gluQuadricCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricDrawStyle(IntPtr quad, OpenTK.Graphics.QuadricDrawStyle draw); - internal static QuadricDrawStyle gluQuadricDrawStyle; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricNormals(IntPtr quad, OpenTK.Graphics.QuadricNormal normal); - internal static QuadricNormals gluQuadricNormals; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricOrientation(IntPtr quad, OpenTK.Graphics.QuadricOrientation orientation); - internal static QuadricOrientation gluQuadricOrientation; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void QuadricTexture(IntPtr quad, bool texture); - internal static QuadricTexture gluQuadricTexture; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 ScaleImage(PixelFormat format, Int32 wIn, Int32 hIn, PixelType typeIn, IntPtr dataIn, Int32 wOut, Int32 hOut, PixelType typeOut, [Out] IntPtr dataOut); - internal static ScaleImage gluScaleImage; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void Sphere(IntPtr quad, double radius, Int32 slices, Int32 stacks); - internal static Sphere gluSphere; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessBeginContour(IntPtr tess); - internal static TessBeginContour gluTessBeginContour; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessBeginPolygon(IntPtr tess, IntPtr data); - internal static TessBeginPolygon gluTessBeginPolygon; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessCallback(IntPtr tess, OpenTK.Graphics.TessCallback which, Delegate CallBackFunc); - internal static TessCallback gluTessCallback; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessEndContour(IntPtr tess); - internal static TessEndContour gluTessEndContour; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessEndPolygon(IntPtr tess); - internal static TessEndPolygon gluTessEndPolygon; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessNormal(IntPtr tess, double valueX, double valueY, double valueZ); - internal static TessNormal gluTessNormal; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void TessProperty(IntPtr tess, OpenTK.Graphics.TessParameter which, double data); - internal static TessProperty gluTessProperty; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TessVertex(IntPtr tess, double* location, IntPtr data); - internal unsafe static TessVertex gluTessVertex; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 TexFilterFuncSGI(TextureTarget target, SgisTextureFilter4 filtertype, float* parms, Int32 n, [Out] float* weights); - internal unsafe static TexFilterFuncSGI gluTexFilterFuncSGI; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 UnProject(double winX, double winY, double winZ, double* model, double* proj, Int32* view, double* objX, double* objY, double* objZ); - internal unsafe static UnProject gluUnProject; - [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate Int32 UnProject4(double winX, double winY, double winZ, double clipW, double* model, double* proj, Int32* view, double near, double far, double* objX, double* objY, double* objZ, double* objW); - internal unsafe static UnProject4 gluUnProject4; - } - } -} diff --git a/Source/OpenTK/Graphics/Glu/GluEnums.cs b/Source/OpenTK/Graphics/Glu/GluEnums.cs deleted file mode 100644 index 8c7996bf..00000000 --- a/Source/OpenTK/Graphics/Glu/GluEnums.cs +++ /dev/null @@ -1,390 +0,0 @@ -namespace OpenTK.Graphics -{ - #pragma warning disable 1591 - - public enum GluVersion - { - Version11 = ((int)1), - Version13 = ((int)1), - Version12 = ((int)1), - } - - public enum GluStringName - { - Version = ((int)100800), - Extensions = ((int)100801), - } - - public enum GluErrorCode - { - OutOfMemory = ((int)100902), - InvalidEnum = ((int)100900), - InvalidValue = ((int)100901), - InvalidOperation = ((int)100904), - } - - public enum Filter4TypeSGIS - { - MitchellNetravaliSgi = ((int)100301), - LagrangianSgi = ((int)100300), - } - - public enum NurbsDisplay - { - OutlinePolygon = ((int)100240), - OutlinePatch = ((int)100241), - Fill = ((int)QuadricDrawStyle.Fill), - } - - public enum NurbsCallback - { - NurbsColorData = ((int)100173), - NurbsVertexData = ((int)100171), - NurbsNormal = ((int)100166), - NurbsError = ((int)100103), - NurbsTextureCoordExt = ((int)100168), - Error = ((int)100103), - NurbsEndDataExt = ((int)100175), - NurbsEnd = ((int)100169), - NurbsTextureCoord = ((int)100168), - NurbsEndExt = ((int)100169), - NurbsNormalDataExt = ((int)100172), - NurbsColor = ((int)100167), - NurbsColorExt = ((int)100167), - NurbsVertexExt = ((int)100165), - NurbsBeginExt = ((int)100164), - NurbsTextureCoordData = ((int)100174), - NurbsBeginData = ((int)100170), - NurbsColorDataExt = ((int)100173), - NurbsBeginDataExt = ((int)100170), - NurbsVertex = ((int)100165), - NurbsTextureCoordDataExt = ((int)100174), - NurbsNormalExt = ((int)100166), - NurbsVertexDataExt = ((int)100171), - NurbsBegin = ((int)100164), - NurbsEndData = ((int)100175), - NurbsNormalData = ((int)100172), - } - - public enum NurbsError - { - NurbsError37 = ((int)100287), - NurbsError16 = ((int)100266), - NurbsError26 = ((int)100276), - NurbsError36 = ((int)100286), - NurbsError19 = ((int)100269), - NurbsError29 = ((int)100279), - NurbsError8 = ((int)100258), - NurbsError12 = ((int)100262), - NurbsError9 = ((int)100259), - NurbsError1 = ((int)100251), - NurbsError18 = ((int)100268), - NurbsError28 = ((int)100278), - NurbsError4 = ((int)100254), - NurbsError5 = ((int)100255), - NurbsError6 = ((int)100256), - NurbsError7 = ((int)100257), - NurbsError3 = ((int)100253), - NurbsError22 = ((int)100272), - NurbsError32 = ((int)100282), - NurbsError2 = ((int)100252), - NurbsError11 = ((int)100261), - NurbsError21 = ((int)100271), - NurbsError31 = ((int)100281), - NurbsError10 = ((int)100260), - NurbsError20 = ((int)100270), - NurbsError30 = ((int)100280), - NurbsError15 = ((int)100265), - NurbsError25 = ((int)100275), - NurbsError35 = ((int)100285), - NurbsError14 = ((int)100264), - NurbsError24 = ((int)100274), - NurbsError34 = ((int)100284), - NurbsError13 = ((int)100263), - NurbsError23 = ((int)100273), - NurbsError33 = ((int)100283), - NurbsError17 = ((int)100267), - NurbsError27 = ((int)100277), - } - - public enum NurbsProperty - { - DisplayMode = ((int)100204), - ParametricTolerance = ((int)100202), - NurbsRenderer = ((int)100162), - NurbsTessellator = ((int)100161), - NurbsTessellatorExt = ((int)100161), - NurbsModeExt = ((int)100160), - UStep = ((int)100206), - SamplingMethod = ((int)100205), - AutoLoadMatrix = ((int)100200), - VStep = ((int)100207), - Culling = ((int)100201), - NurbsRendererExt = ((int)100162), - NurbsMode = ((int)100160), - SamplingTolerance = ((int)100203), - } - - public enum NurbsSampling - { - ObjectParametricError = ((int)100208), - ObjectPathLength = ((int)100209), - PathLength = ((int)100215), - DomainDistance = ((int)100217), - ObjectPathLengthExt = ((int)100209), - ObjectParametricErrorExt = ((int)100208), - ParametricError = ((int)100216), - } - - public enum NurbsTrim - { - Map1Trim3 = ((int)100211), - Map1Trim2 = ((int)100210), - } - - public enum QuadricDrawStyle - { - Line = ((int)100011), - Silhouette = ((int)100013), - Point = ((int)100010), - Fill = ((int)100012), - } - - public enum QuadricCallback - { - Error = ((int)NurbsCallback.Error), - } - - public enum QuadricNormal - { - None = ((int)100002), - Flat = ((int)100001), - Smooth = ((int)100000), - } - - public enum QuadricOrientation - { - Outside = ((int)100020), - Inside = ((int)100021), - } - - public enum TessCallback - { - TessEdgeFlagData = ((int)100110), - Begin = ((int)100100), - TessError = ((int)100103), - EdgeFlag = ((int)100104), - End = ((int)100102), - TessCombine = ((int)100105), - Error = ((int)100103), - TessEndData = ((int)100108), - TessBeginData = ((int)100106), - TessErrorData = ((int)100109), - Vertex = ((int)100101), - TessVertexData = ((int)100107), - TessVertex = ((int)100101), - TessEdgeFlag = ((int)100104), - TessEnd = ((int)100102), - TessBegin = ((int)100100), - TessCombineData = ((int)100111), - } - - public enum TessContour - { - Exterior = ((int)100123), - Ccw = ((int)100121), - Interior = ((int)100122), - Unknown = ((int)100124), - Cw = ((int)100120), - } - - public enum TessParameter - { - TessWindingRule = ((int)100140), - TessBoundaryOnly = ((int)100141), - TessTolerance = ((int)100142), - } - - public enum TessError - { - TessMissingBeginPolygon = ((int)100151), - TessMissingEndPolygon = ((int)100153), - TessError1 = ((int)100151), - TessMissingBeginContour = ((int)100152), - TessCoordTooLarge = ((int)100155), - TessError7 = ((int)100157), - TessError2 = ((int)100152), - TessError4 = ((int)100154), - TessNeedCombineCallback = ((int)100156), - TessError3 = ((int)100153), - TessError6 = ((int)100156), - TessError5 = ((int)100155), - TessError8 = ((int)100158), - TessMissingEndContour = ((int)100154), - } - - public enum TessWinding - { - TessWindingNonzero = ((int)100131), - TessWindingOdd = ((int)100130), - TessWindingPositive = ((int)100132), - TessWindingAbsGeqTwo = ((int)100134), - TessWindingNegative = ((int)100133), - } - - public enum AllGlu - { - None = ((int)100002), - TessWindingRule = ((int)100140), - TessWindingPositive = ((int)100132), - ObjectPathLength = ((int)100209), - NurbsTextureCoordExt = ((int)100168), - Vertex = ((int)100101), - TessCombine = ((int)100105), - AutoLoadMatrix = ((int)100200), - TessBoundaryOnly = ((int)100141), - NurbsEndExt = ((int)100169), - NurbsError17 = ((int)100267), - NurbsError27 = ((int)100277), - NurbsError37 = ((int)100287), - Interior = ((int)100122), - TessWindingOdd = ((int)100130), - InvalidValue = ((int)100901), - ParametricError = ((int)100216), - TessError8 = ((int)100158), - NurbsError14 = ((int)100264), - NurbsError24 = ((int)100274), - NurbsError34 = ((int)100284), - NurbsTextureCoordDataExt = ((int)100174), - TessMissingBeginContour = ((int)100152), - Silhouette = ((int)100013), - TessError7 = ((int)100157), - NurbsNormalDataExt = ((int)100172), - NurbsError21 = ((int)100271), - NurbsError31 = ((int)100281), - PathLength = ((int)100215), - OutlinePolygon = ((int)100240), - TessVertex = ((int)100101), - TessWindingAbsGeqTwo = ((int)100134), - Extensions = ((int)100801), - TessEdgeFlagData = ((int)100110), - EdgeFlag = ((int)100104), - TessError1 = ((int)100151), - Line = ((int)100011), - NurbsBeginExt = ((int)100164), - Point = ((int)100010), - Begin = ((int)100100), - Inside = ((int)100021), - Flat = ((int)100001), - TessBegin = ((int)100100), - NurbsNormal = ((int)100166), - NurbsColorData = ((int)100173), - NurbsBeginDataExt = ((int)100170), - NurbsRenderer = ((int)100162), - NurbsBeginData = ((int)100170), - Outside = ((int)100020), - DisplayMode = ((int)100204), - NurbsError15 = ((int)100265), - NurbsError25 = ((int)100275), - NurbsError35 = ((int)100285), - NurbsVertexExt = ((int)100165), - TessError5 = ((int)100155), - Unknown = ((int)100124), - NurbsEndDataExt = ((int)100175), - NurbsError12 = ((int)100262), - NurbsError22 = ((int)100272), - NurbsError32 = ((int)100282), - ObjectParametricErrorExt = ((int)100208), - NurbsRendererExt = ((int)100162), - TessError3 = ((int)100153), - Fill = ((int)100012), - TessError = ((int)100103), - ObjectPathLengthExt = ((int)100209), - TessWindingNegative = ((int)100133), - NurbsTessellator = ((int)100161), - NurbsColor = ((int)100167), - NurbsModeExt = ((int)100160), - SamplingTolerance = ((int)100203), - NurbsColorDataExt = ((int)100173), - Exterior = ((int)100123), - Ccw = ((int)100121), - Cw = ((int)100120), - NurbsNormalExt = ((int)100166), - NurbsError18 = ((int)100268), - NurbsError28 = ((int)100278), - LagrangianSgi = ((int)100300), - TessEnd = ((int)100102), - NurbsTessellatorExt = ((int)100161), - NurbsEnd = ((int)100169), - TessWindingNonzero = ((int)100131), - OutOfMemory = ((int)100902), - TessBeginData = ((int)100106), - Error = ((int)100103), - ObjectParametricError = ((int)100208), - NurbsBegin = ((int)100164), - TessCombineData = ((int)100111), - TessMissingEndPolygon = ((int)100153), - NurbsTextureCoord = ((int)100168), - Smooth = ((int)100000), - TessMissingBeginPolygon = ((int)100151), - NurbsEndData = ((int)100175), - NurbsVertexData = ((int)100171), - TessEndData = ((int)100108), - NurbsError11 = ((int)100261), - NurbsVertex = ((int)100165), - NurbsError30 = ((int)100280), - Version11 = ((int)1), - TessError6 = ((int)100156), - Version13 = ((int)1), - Version12 = ((int)1), - TessErrorData = ((int)100109), - NurbsError36 = ((int)100286), - End = ((int)100102), - SamplingMethod = ((int)100205), - TessNeedCombineCallback = ((int)100156), - UStep = ((int)100206), - DomainDistance = ((int)100217), - TessEdgeFlag = ((int)100104), - NurbsColorExt = ((int)100167), - NurbsError19 = ((int)100269), - NurbsError29 = ((int)100279), - InvalidOperation = ((int)100904), - TessCoordTooLarge = ((int)100155), - TessVertexData = ((int)100107), - NurbsMode = ((int)100160), - ParametricTolerance = ((int)100202), - NurbsError2 = ((int)100252), - VStep = ((int)100207), - TessMissingEndContour = ((int)100154), - Map1Trim2 = ((int)100210), - Map1Trim3 = ((int)100211), - Culling = ((int)100201), - NurbsError16 = ((int)100266), - NurbsError26 = ((int)100276), - NurbsVertexDataExt = ((int)100171), - NurbsNormalData = ((int)100172), - TessError2 = ((int)100152), - NurbsError13 = ((int)100263), - NurbsError23 = ((int)100273), - NurbsError33 = ((int)100283), - NurbsError8 = ((int)100258), - NurbsError9 = ((int)100259), - TessError4 = ((int)100154), - NurbsError10 = ((int)100260), - NurbsError20 = ((int)100270), - OutlinePatch = ((int)100241), - NurbsError = ((int)100103), - NurbsTextureCoordData = ((int)100174), - NurbsError1 = ((int)100251), - InvalidEnum = ((int)100900), - NurbsError3 = ((int)100253), - NurbsError4 = ((int)100254), - NurbsError5 = ((int)100255), - NurbsError6 = ((int)100256), - NurbsError7 = ((int)100257), - MitchellNetravaliSgi = ((int)100301), - Version = ((int)100800), - TessTolerance = ((int)100142), - } - -} diff --git a/Source/OpenTK/Graphics/Glu/GluHelper.cs b/Source/OpenTK/Graphics/Glu/GluHelper.cs deleted file mode 100644 index b28ca596..00000000 --- a/Source/OpenTK/Graphics/Glu/GluHelper.cs +++ /dev/null @@ -1,432 +0,0 @@ -#region --- License --- -/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos - * Contributions by Andy Gill. - * See license.txt for license info - */ -#endregion - -using System; -using System.Collections.Generic; -using System.Text; -using System.Reflection; -using System.Runtime.InteropServices; -using System.Reflection.Emit; - -using OpenTK.Platform; - -namespace OpenTK.Graphics -{ - /// - /// Provides access to the OpenGL Utilities library. - /// Methods i this library are considered deprecated and should be avoided. - /// - [Obsolete("Use OpenTK math functions instead.")] - public static partial class Glu - { - private const string Library = "glu32.dll"; - - private static Dictionary AvailableExtensions = new Dictionary(); - private static bool rebuildExtensionList = true; - - //private static Assembly assembly; - //private static Type glClass; - //private static Type delegatesClass; - private static Type importsClass = typeof(Imports); - - static Glu() - { - //assembly = Assembly.GetExecutingAssembly();//Assembly.Load("OpenTK.Graphics.OpenGL"); - //glClass = assembly.GetType("OpenTK.Graphics.OpenGL.Glu"); - //delegatesClass = glClass.GetNestedType("Delegates", BindingFlags.Static | BindingFlags.NonPublic); - //importsClass = glClass.GetNestedType("Imports", BindingFlags.Static | BindingFlags.NonPublic); - } - - #region private static Delegate LoadDelegate(string name, Type signature) - - /// - /// Creates a System.Delegate that can be used to call a GLU function, core or extension. - /// - /// The name of the GLU function (eg. "gluBuild2DMipmaps") - /// The signature of the GLU function. - /// - /// A System.Delegate that can be used to call this GLU function, or null if the specified - /// function name did not correspond to an GLU function. - /// - private static Delegate LoadDelegate(string name, Type signature) - { - MethodInfo m = importsClass.GetMethod(name.Substring(3), BindingFlags.Static | BindingFlags.NonPublic); - return - GL.GetExtensionDelegate(name, signature) ?? - (m != null ? Delegate.CreateDelegate(signature, m) : null); - } - - #endregion - - #region public static void LoadAll() - - /// - /// Loads all GLU functions (core and extensions). - /// - /// - /// - /// Call this function manually whenever you need to update GLU entry points. - /// This need will never arise under normal usage patterns. - /// - /// - public static void LoadAll() - { - OpenTK.Platform.Utilities.LoadExtensions(typeof(Glu)); - } - - #endregion - - #region public static bool Load(string function) - - /// - /// Tries to reload the given GLU function (core or extension). - /// - /// The name of the GLU function. - /// True if the function was found and reloaded, false otherwise. - /// - /// - /// While the automatic initialisation will load all GLU entry points, in some cases - /// the initialization can take place before a render context has been established. - /// In this case, use this function to load the entry points for the GLU functions - /// you will need, or use LoadAll() to load all available entry points. - /// - /// - /// This function returns true if the given GLU function is supported, false otherwise. - /// - /// - /// To query for supported extensions use the IsExtensionSupported() function instead. - /// - /// - public static bool Load(string function) - { - return OpenTK.Platform.Utilities.TryLoadExtension(typeof(Glu), function); - } - - #endregion - - #region public static bool SupportsExtension(string name) - - /// - /// Determines whether the specified GLU extension is available in - /// the current GLU context. - /// - /// The string for the GLU extension. - /// True if the specified extension is available, false otherwise. - public static bool SupportsExtension(string name) - { - if (rebuildExtensionList) - { - BuildExtensionList(); - } - - // Search the cache for the string. Note that the cache substitutes - // strings "1.0" to "2.1" with "GL_VERSION_1_0" to "GL_VERSION_2_1" - if (AvailableExtensions.ContainsKey(name)) - { - return AvailableExtensions[name]; - } - - return false; - } - - #endregion - - #region private static void BuildExtensionList() - - /// - /// Builds a cache of the supported extensions to speed up searches. - /// - private static void BuildExtensionList() - { - // Assumes there is an opengl context current. - - AvailableExtensions.Clear(); - - string version_string = Glu.GetString(GluStringName.Version); - if (String.IsNullOrEmpty(version_string)) - { - throw new ApplicationException("Failed to build extension list. Is there an opengl context current?"); - } - - string version = version_string.Trim(' '); - if (version.StartsWith("1.0")) - { - AvailableExtensions.Add("VERSION_1_0", true); - } - else if (version.StartsWith("1.1")) - { - AvailableExtensions.Add("VERSION_1_0", true); - AvailableExtensions.Add("VERSION_1_1", true); - } - else if (version.StartsWith("1.2")) - { - AvailableExtensions.Add("VERSION_1_0", true); - AvailableExtensions.Add("VERSION_1_1", true); - AvailableExtensions.Add("VERSION_1_2", true); - } - else if (version.StartsWith("1.3")) - { - AvailableExtensions.Add("VERSION_1_0", true); - AvailableExtensions.Add("VERSION_1_1", true); - AvailableExtensions.Add("VERSION_1_2", true); - AvailableExtensions.Add("VERSION_1_3", true); - } - - string extension_string = Glu.GetString(GluStringName.Extensions); - if (String.IsNullOrEmpty(extension_string)) - { // no extensions are available - return; - } - - string[] extensions = extension_string.Split(' '); - foreach (string ext in extensions) - { - AvailableExtensions.Add(ext, true); - } - - rebuildExtensionList = false; - } - - #endregion - - #region Overloads - - public static void LookAt(Vector3 eye, Vector3 center, Vector3 up) - { - Delegates.gluLookAt((double)eye.X, (double)eye.Y, (double)eye.Z, (double)center.X, (double)center.Y, (double)center.Z, (double)up.X, (double)up.Y, (double)up.Z); - } - - // One token Project overload, I picked this one because it's CLS compliant, and it - // makes reasonably clear which args are inputs and which are outputs. - public static Int32 Project(Vector3 obj, double[] model, double[] proj, Int32[] view, out Vector3 win) - { - unsafe - { - double winX, winY, winZ; - double* winX_ptr = &winX; - double* winY_ptr = &winY; - double* winZ_ptr = &winZ; - fixed (double* model_ptr = model) - fixed (double* proj_ptr = proj) - fixed (Int32* view_ptr = view) - { - Int32 retval = Delegates.gluProject((double)obj.X, (double)obj.Y, (double)obj.Z, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double*)winX_ptr, (double*)winY_ptr, (double*)winZ_ptr); - win = new Vector3((float)*winX_ptr, (float)*winY_ptr, (float)*winZ_ptr); - return retval; - } - } - } - - public static void TessNormal(IntPtr tess, Vector3 normal) - { - Delegates.gluTessNormal(tess, (double)normal.X, (double)normal.Y, (double)normal.Z); - } - - public static Int32 UnProject(Vector3 win, double[] model, double[] proj, Int32[] view, out Vector3 obj) - { - unsafe - { - double objX, objY, objZ; - double* objX_ptr = &objX; - double* objY_ptr = &objY; - double* objZ_ptr = &objZ; - fixed (double* model_ptr = model) - fixed (double* proj_ptr = proj) - fixed (Int32* view_ptr = view) - { - Int32 retval = Delegates.gluUnProject((double)win.X, (double)win.Y, (double)win.Z, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double*)objX_ptr, (double*)objY_ptr, (double*)objZ_ptr); - obj = new Vector3((float)*objX_ptr, (float)*objY_ptr, (float)*objZ_ptr); - return retval; - } - } - } - - public static Int32 UnProject4(Vector4 win, double[] model, double[] proj, Int32[] view, double near, double far, out Vector4 obj) - { - unsafe - { - double objX, objY, objZ, objW; - double* objX_ptr = &objX; - double* objY_ptr = &objY; - double* objZ_ptr = &objZ; - double* objW_ptr = &objW; - fixed (double* model_ptr = model) - fixed (double* proj_ptr = proj) - fixed (Int32* view_ptr = view) - { - Int32 retval = Delegates.gluUnProject4((double)win.X, (double)win.Y, (double)win.Z, (double)win.W, (double*)model_ptr, (double*)proj_ptr, (Int32*)view_ptr, (double)near, (double)far, (double*)objX_ptr, (double*)objY_ptr, (double*)objZ_ptr, (double*)objW_ptr); - obj = new Vector4((float)*objX_ptr, (float)*objY_ptr, (float)*objZ_ptr, (float)*objW_ptr); - return retval; - } - } - } - - public static string ErrorString(ErrorCode error) - { - return ErrorString((GluErrorCode)error); - } - - public static void TessWindingRuleProperty(IntPtr tess, TessWinding property) - { - Glu.TessProperty(tess, TessParameter.TessWindingRule, (double)property); - } - - #endregion - - } - -#if false - - //public delegate object - - public delegate void FastVoidInvokeHandler(object target, object[] paramters); - public delegate object FastInvokeHandler(object target, object[] paramters); - public static class FastInvoker - { - /// - /// Use this one instead of MethodInfo.Invoke, this way it is 50 times quicker. - /// - /// - /// string Filter = "FirstName = 'Ton'" - /// MethodInfo mi = typeof(Person).GetMethod("GetAll"); - /// snoei.net.Reflection.FastInvoker.FastInvokeHandler fi = snoei.net.Reflection.FastInvoker.GetMethodInvoker( mi ); - // return fi.Invoke( Person, new object[]{Filter} ); - /// //Calls Person.GetAll(string Filter); - /// - /// - /// - /// - public static Delegate GetMethodInvoker(MethodInfo methodInfo) - { - DynamicMethod dynamicMethod = new DynamicMethod(string.Empty, methodInfo.ReturnType, new Type[] { typeof(object), typeof(object[]) }, methodInfo.DeclaringType.Module); - ILGenerator il = dynamicMethod.GetILGenerator(); - ParameterInfo[] ps = methodInfo.GetParameters(); - Type[] paramTypes = new Type[ps.Length]; - - for (int i = 0; i < paramTypes.Length; i++) - { - if (ps[i].ParameterType.IsByRef) - paramTypes[i] = ps[i].ParameterType.GetElementType(); - else - paramTypes[i] = ps[i].ParameterType; - } - - LocalBuilder[] locals = new LocalBuilder[paramTypes.Length]; - - for (int i = 0; i < paramTypes.Length; i++) - locals[i] = il.DeclareLocal(paramTypes[i], true); - - for (int i = 0; i < paramTypes.Length; i++) - { - il.Emit(OpCodes.Ldarg_1); - EmitFastInt(il, i); - il.Emit(OpCodes.Ldelem_Ref); - EmitCastToReference(il, paramTypes[i]); - il.Emit(OpCodes.Stloc, locals[i]); - } - - if (!methodInfo.IsStatic) - il.Emit(OpCodes.Ldarg_0); - - for (int i = 0; i < paramTypes.Length; i++) - { - if (ps[i].ParameterType.IsByRef) - il.Emit(OpCodes.Ldloca_S, locals[i]); - else - il.Emit(OpCodes.Ldloc, locals[i]); - } - - if (methodInfo.IsStatic) - il.EmitCall(OpCodes.Call, methodInfo, null); - else - il.EmitCall(OpCodes.Callvirt, methodInfo, null); - - if (methodInfo.ReturnType == typeof(void)) - il.Emit(OpCodes.Ldnull); - else - EmitBoxIfNeeded(il, methodInfo.ReturnType); - - for (int i = 0; i < paramTypes.Length; i++) - { - if (ps[i].ParameterType.IsByRef) - { - il.Emit(OpCodes.Ldarg_1); - EmitFastInt(il, i); - il.Emit(OpCodes.Ldloc, locals[i]); - if (locals[i].LocalType.IsValueType) - il.Emit(OpCodes.Box, locals[i].LocalType); - il.Emit(OpCodes.Stelem_Ref); - } - } - - il.Emit(OpCodes.Ret); - - if (methodInfo.ReturnType == typeof(void)) - return dynamicMethod.CreateDelegate(typeof(FastVoidInvokeHandler)); - else - return dynamicMethod.CreateDelegate(typeof(FastInvokeHandler)); - } - - private static void EmitCastToReference(ILGenerator il, System.Type type) - { - if (type.IsValueType) - il.Emit(OpCodes.Unbox_Any, type); - else - il.Emit(OpCodes.Castclass, type); - } - - private static void EmitBoxIfNeeded(ILGenerator il, System.Type type) - { - if (type.IsValueType) - il.Emit(OpCodes.Box, type); - } - - private static void EmitFastInt(ILGenerator il, int value) - { - switch (value) - { - case -1: - il.Emit(OpCodes.Ldc_I4_M1); - return; - case 0: - il.Emit(OpCodes.Ldc_I4_0); - return; - case 1: - il.Emit(OpCodes.Ldc_I4_1); - return; - case 2: - il.Emit(OpCodes.Ldc_I4_2); - return; - case 3: - il.Emit(OpCodes.Ldc_I4_3); - return; - case 4: - il.Emit(OpCodes.Ldc_I4_4); - return; - case 5: - il.Emit(OpCodes.Ldc_I4_5); - return; - case 6: - il.Emit(OpCodes.Ldc_I4_6); - return; - case 7: - il.Emit(OpCodes.Ldc_I4_7); - return; - case 8: - il.Emit(OpCodes.Ldc_I4_8); - return; - } - - if (value > -129 && value < 128) - il.Emit(OpCodes.Ldc_I4_S, (SByte)value); - else - il.Emit(OpCodes.Ldc_I4, value); - } - } - -#endif -} diff --git a/Source/OpenTK/Graphics/GraphicsContext.cs b/Source/OpenTK/Graphics/GraphicsContext.cs index 90ed76d6..0a94932c 100644 --- a/Source/OpenTK/Graphics/GraphicsContext.cs +++ b/Source/OpenTK/Graphics/GraphicsContext.cs @@ -244,58 +244,6 @@ namespace OpenTK.Graphics #endregion - #region --- Internal Members --- - - List error_list = new List(); - - // Retrieve all OpenGL errors to clear the error list. - // See http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/geterror.html - [Conditional("DEBUG")] - internal void ResetErrors() - { - if (check_errors) - { - while (GL.GetError() != ErrorCode.NoError) - { } - } - } - - // Retrieve all OpenGL errors and throw an exception if anything other than NoError is returned. - [Conditional("DEBUG")] - internal void CheckErrors() - { - if (check_errors) - { - error_list.Clear(); - ErrorCode error; - do - { - error = GL.GetError(); - error_list.Add(error); - } while (error != ErrorCode.NoError); - - if (error_list.Count != 1) - { - StringBuilder sb = new StringBuilder(); - foreach (ErrorCode e in error_list) - { - if (e != ErrorCode.NoError) - { - sb.Append(e.ToString()); - sb.Append(", "); - } - else - break; - } - sb.Remove(sb.Length - 2, 2); // Remove the last comma - - throw new OpenGLErrorException(sb.ToString()); - } - } - } - - #endregion - #region --- Private Members --- #region void ContextDestroyed(IGraphicsContext context, EventArgs e) @@ -526,32 +474,4 @@ namespace OpenTK.Graphics #endregion } - - #region public class GraphicsException : Exception - - /// Represents errors related to Graphics operations. - public class GraphicsException : Exception - { - /// Constructs a new GraphicsException. - public GraphicsException() : base() { } - /// Constructs a new GraphicsException with the specified excpetion message. - /// - public GraphicsException(string message) : base(message) { } - } - - #endregion - - #region class GraphicsErrorException : GraphicsException - - // This is private by design. These exceptions are only thrown in debug builds of - // OpenTK and the user should *not* handle them. - // If some specific OpenGL error is generated by design, the user should - // turn off automatic error checking for that portion of the code, using - // 'GraphicsContext.ErrorChecking = false'. - class OpenGLErrorException : GraphicsException - { - public OpenGLErrorException(string message) : base(message) { } - } - - #endregion } diff --git a/Source/OpenTK/Graphics/GraphicsContextException.cs b/Source/OpenTK/Graphics/GraphicsContextException.cs new file mode 100644 index 00000000..1fffb72f --- /dev/null +++ b/Source/OpenTK/Graphics/GraphicsContextException.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Represents errors related to a GraphicsContext. + /// + public class GraphicsContextException : Exception + { + /// + /// Constructs a new GraphicsContextException. + /// + public GraphicsContextException() : base() { } + /// + /// Constructs a new GraphicsContextException with the given error message. + /// + public GraphicsContextException(string message) : base(message) { } + } +} diff --git a/Source/OpenTK/Graphics/GraphicsContextMissingException.cs b/Source/OpenTK/Graphics/GraphicsContextMissingException.cs new file mode 100644 index 00000000..e4466b92 --- /dev/null +++ b/Source/OpenTK/Graphics/GraphicsContextMissingException.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Thrown when an operation that required GraphicsContext is performed, when no + /// GraphicsContext is current in the calling thread. + /// + public class GraphicsContextMissingException : GraphicsContextException + { + /// + /// Constructs a new GraphicsContextMissingException. + /// + public GraphicsContextMissingException() + : base(String.Format( + "No context is current in the calling thread (ThreadId: {0}).", + System.Threading.Thread.CurrentThread.ManagedThreadId)) + { } + } +} diff --git a/Source/OpenTK/Graphics/GraphicsErrorException.cs b/Source/OpenTK/Graphics/GraphicsErrorException.cs new file mode 100644 index 00000000..5417cd97 --- /dev/null +++ b/Source/OpenTK/Graphics/GraphicsErrorException.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Identifies a specific OpenGL or OpenGL|ES error. Such exceptions are only thrown + /// when OpenGL or OpenGL|ES automatic error checking is enabled - + /// property. + /// Important: Do *not* catch this exception. Rather, fix the underlying issue that caused the error. + /// + public class GraphicsErrorException : GraphicsException + { + /// + /// Constructs a new GraphicsErrorException instance with the specified error message. + /// + /// + public GraphicsErrorException(string message) : base(message) { } + } +} diff --git a/Source/OpenTK/Graphics/GraphicsExceptions.cs b/Source/OpenTK/Graphics/GraphicsExceptions.cs index 3f2bf480..f53062b6 100644 --- a/Source/OpenTK/Graphics/GraphicsExceptions.cs +++ b/Source/OpenTK/Graphics/GraphicsExceptions.cs @@ -10,37 +10,15 @@ using System; using System.Collections.Generic; using System.Text; -namespace OpenTK.Graphics +namespace OpenTK { - /// Represents errors related to unavailable graphics parameters.. - public class GraphicsModeException : Exception + /// Represents errors related to Graphics operations. + public class GraphicsException : Exception { - /// Constructs a new GraphicsModeException. - public GraphicsModeException() : base() { } - /// Constructs a new GraphicsModeException with the given error message. - public GraphicsModeException(string message) : base(message) { } - } - - /// Represents errors related to a GraphicsContext. - public class GraphicsContextException : Exception - { - /// Constructs a new GraphicsContextException. - public GraphicsContextException() : base() { } - /// Constructs a new GraphicsContextException with the given error message.. - public GraphicsContextException(string message) : base(message) { } - } - - /// - /// Thrown when an operation that required GraphicsContext is performed, when no - /// GraphicsContext is current in the calling thread. - /// - public class GraphicsContextMissingException : GraphicsContextException - { - /// Constructs a new GraphicsContextMissingException. - public GraphicsContextMissingException() - : base(String.Format( - "No context is current in the calling thread (ThreadId: {0}).", - System.Threading.Thread.CurrentThread.ManagedThreadId)) - { } + /// Constructs a new GraphicsException. + public GraphicsException() : base() { } + /// Constructs a new GraphicsException with the specified excpetion message. + /// + public GraphicsException(string message) : base(message) { } } } diff --git a/Source/OpenTK/Graphics/GraphicsModeException.cs b/Source/OpenTK/Graphics/GraphicsModeException.cs new file mode 100644 index 00000000..11d8f7df --- /dev/null +++ b/Source/OpenTK/Graphics/GraphicsModeException.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics +{ + /// + /// Represents errors related to unavailable graphics parameters. + /// + public class GraphicsModeException : Exception + { + /// + /// Constructs a new GraphicsModeException. + /// + public GraphicsModeException() : base() { } + /// + /// Constructs a new GraphicsModeException with the given error message. + /// + public GraphicsModeException(string message) : base(message) { } + } +} diff --git a/Source/OpenTK/Platform/DesktopGLContext.cs b/Source/OpenTK/Platform/DesktopGLContext.cs new file mode 100644 index 00000000..e805a2ca --- /dev/null +++ b/Source/OpenTK/Platform/DesktopGLContext.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Diagnostics; +using OpenTK.Graphics; + +namespace OpenTK.Platform +{ + // Provides the foundation for all desktop IGraphicsContext implementations. + abstract class DesktopGraphicsContext : IGraphicsContext + { + #region IGraphicsContext Members + + public abstract void SwapBuffers(); + + public abstract void MakeCurrent(IWindowInfo window); + + public abstract bool IsCurrent { get; } + + public abstract event DestroyEvent Destroy; + + public abstract bool VSync { get; set; } + + public abstract void Update(IWindowInfo window); + + public abstract GraphicsMode GraphicsMode { get; } + + public abstract bool ErrorChecking { get; set; } + + #endregion + + #region IDisposable Members + + public abstract void Dispose(); + + #endregion + } +} diff --git a/Source/OpenTK/Platform/Dummy/DummyGLControl.cs b/Source/OpenTK/Platform/Dummy/DummyGLControl.cs index 12a31e3d..3a02e167 100644 --- a/Source/OpenTK/Platform/Dummy/DummyGLControl.cs +++ b/Source/OpenTK/Platform/Dummy/DummyGLControl.cs @@ -1,4 +1,31 @@ -using OpenTK.Graphics; +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using OpenTK.Graphics; namespace OpenTK.Platform.Dummy { @@ -6,7 +33,7 @@ namespace OpenTK.Platform.Dummy { #region IGLControl Members - public OpenTK.Graphics.GraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags) + public GraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags) { return new GraphicsContext(null, null); } diff --git a/Source/OpenTK/Platform/Egl/EglWinPlatformFactory.cs b/Source/OpenTK/Platform/Egl/EglWinPlatformFactory.cs index 5440ec5b..b033a7a1 100644 --- a/Source/OpenTK/Platform/Egl/EglWinPlatformFactory.cs +++ b/Source/OpenTK/Platform/Egl/EglWinPlatformFactory.cs @@ -28,6 +28,8 @@ using System; using System.Collections.Generic; using System.Text; + +using OpenTK.Graphics; using OpenTK.Platform.Windows; namespace OpenTK.Platform.Egl @@ -35,14 +37,14 @@ namespace OpenTK.Platform.Egl // EGL factory for the Windows platform. class EglWinPlatformFactory : WinFactory { - public override OpenTK.Graphics.IGraphicsContext CreateGLContext(OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, OpenTK.Graphics.IGraphicsContext shareContext, bool directRendering, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags) + public override IGraphicsContext CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags) { WinWindowInfo win_win = (WinWindowInfo)window; EglWindowInfo egl_win = new OpenTK.Platform.Egl.EglWindowInfo(win_win.WindowHandle, new EGLDisplay(win_win.DeviceContext)); return new EglContext(mode, egl_win, shareContext, major, minor, flags); } - public override OpenTK.Graphics.IGraphicsMode CreateGraphicsMode() + public override IGraphicsMode CreateGraphicsMode() { return new EglGraphicsMode(); } diff --git a/Source/OpenTK/Graphics/IDisplayDeviceDriver.cs b/Source/OpenTK/Platform/IDisplayDeviceDriver.cs similarity index 94% rename from Source/OpenTK/Graphics/IDisplayDeviceDriver.cs rename to Source/OpenTK/Platform/IDisplayDeviceDriver.cs index 0605ec61..f66bca4e 100644 --- a/Source/OpenTK/Graphics/IDisplayDeviceDriver.cs +++ b/Source/OpenTK/Platform/IDisplayDeviceDriver.cs @@ -10,7 +10,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace OpenTK.Graphics +namespace OpenTK.Platform { internal interface IDisplayDeviceDriver { diff --git a/Source/OpenTK/Platform/IPlatformFactory.cs b/Source/OpenTK/Platform/IPlatformFactory.cs index 0240aebf..3deb813d 100644 --- a/Source/OpenTK/Platform/IPlatformFactory.cs +++ b/Source/OpenTK/Platform/IPlatformFactory.cs @@ -43,9 +43,9 @@ namespace OpenTK.Platform IGraphicsContext CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags); - OpenTK.Graphics.GraphicsContext.GetCurrentContextDelegate CreateGetCurrentGraphicsContext(); + GraphicsContext.GetCurrentContextDelegate CreateGetCurrentGraphicsContext(); - OpenTK.Graphics.IGraphicsMode CreateGraphicsMode(); + IGraphicsMode CreateGraphicsMode(); OpenTK.Input.IKeyboardDriver CreateKeyboardDriver(); } diff --git a/Source/OpenTK/Platform/MacOS/AglContext.cs b/Source/OpenTK/Platform/MacOS/AglContext.cs index 8802a753..96b9e0d7 100644 --- a/Source/OpenTK/Platform/MacOS/AglContext.cs +++ b/Source/OpenTK/Platform/MacOS/AglContext.cs @@ -17,7 +17,6 @@ namespace OpenTK.Platform.MacOS { using Carbon; using Graphics; - using Graphics.OpenGL; using AGLRendererInfo = IntPtr; using AGLPixelFormat = IntPtr; @@ -412,8 +411,7 @@ namespace OpenTK.Platform.MacOS void IGraphicsContextInternal.LoadAll() { - GL.LoadAll(); - Glu.LoadAll(); + OpenTK.Graphics.OpenGL.GL.LoadAll(); } ContextHandle IGraphicsContextInternal.Context diff --git a/Source/OpenTK/Platform/MacOS/CarbonGLControl.cs b/Source/OpenTK/Platform/MacOS/CarbonGLControl.cs index 0cab6c37..48dd25bb 100644 --- a/Source/OpenTK/Platform/MacOS/CarbonGLControl.cs +++ b/Source/OpenTK/Platform/MacOS/CarbonGLControl.cs @@ -20,7 +20,7 @@ namespace OpenTK.Platform.MacOS #region IGLControl Members - public OpenTK.Graphics.GraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags) + public GraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags) { return new GraphicsContext(mode, WindowInfo, major, minor, flags); } diff --git a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs index b895871e..02d75379 100644 --- a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs +++ b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs @@ -605,14 +605,14 @@ namespace OpenTK.Platform.MacOS #region INativeGLWindow Members - public void CreateWindow(int width, int height, OpenTK.Graphics.GraphicsMode mode, int major, int minor, GraphicsContextFlags flags, out OpenTK.Graphics.IGraphicsContext context) + public void CreateWindow(int width, int height, GraphicsMode mode, int major, int minor, GraphicsContextFlags flags, out IGraphicsContext context) { Rect r = new Rect(0, 0, (short)width, (short)height); CreateNativeWindow(mWindowClass, mWindowAttrib, r); Show(); - this.context = new Graphics.GraphicsContext(mode, window, major, minor, flags); + this.context = new GraphicsContext(mode, window, major, minor, flags); this.context.MakeCurrent(window); context = this.context; diff --git a/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs b/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs index 88db9dbe..2f9cf1bd 100644 --- a/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs +++ b/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs @@ -91,7 +91,7 @@ namespace OpenTK.Platform.MacOS } - OpenTK.Graphics.DisplayDevice opentk_dev = + DisplayDevice opentk_dev = new DisplayDevice(opentk_dev_current_res, primary, opentk_dev_available_res); displayMap.Add(opentk_dev, currentDisplay); diff --git a/Source/OpenTK/Platform/Utilities.cs b/Source/OpenTK/Platform/Utilities.cs index 15a39bb1..036d9a41 100644 --- a/Source/OpenTK/Platform/Utilities.cs +++ b/Source/OpenTK/Platform/Utilities.cs @@ -13,6 +13,7 @@ using System.Windows.Forms; using System.Runtime.InteropServices; using System.Reflection; using System.Diagnostics; +using OpenTK.Graphics; #endregion @@ -225,14 +226,14 @@ namespace OpenTK.Platform /// The minor OpenGL version number for this IGraphicsContext. /// A bitwise collection of GraphicsContextFlags with specific options for this IGraphicsContext. /// A new IGraphicsContext instance. - public static Graphics.IGraphicsContext CreateGraphicsContext( - Graphics.GraphicsMode mode, IWindowInfo window, - int major, int minor, Graphics.GraphicsContextFlags flags) + public static IGraphicsContext CreateGraphicsContext( + GraphicsMode mode, IWindowInfo window, + int major, int minor, GraphicsContextFlags flags) { - Graphics.GraphicsContext context = new Graphics.GraphicsContext(mode, window, major, minor, flags); + GraphicsContext context = new GraphicsContext(mode, window, major, minor, flags); context.MakeCurrent(window); - (context as OpenTK.Graphics.IGraphicsContextInternal).LoadAll(); + (context as IGraphicsContextInternal).LoadAll(); return context; } @@ -245,8 +246,8 @@ namespace OpenTK.Platform /// A new IGraphicsContext instance. /// An IWindowInfo instance for the specified cntrl. [Obsolete("Create the IWindowInfo object first by calling CreateWindowInfo, then use the CreateGraphicsContext overload which takes major, minor and flags parameters.")] - public static void CreateGraphicsContext(Graphics.GraphicsMode mode, Control cntrl, - out Graphics.IGraphicsContext context, out IWindowInfo info) + public static void CreateGraphicsContext(GraphicsMode mode, Control cntrl, + out IGraphicsContext context, out IWindowInfo info) { CreateGraphicsContext(mode, cntrl.Handle, out context, out info); } @@ -259,15 +260,15 @@ namespace OpenTK.Platform /// A new IGraphicsContext instance. /// An IWindowInfo instance for the specified ctrl. [Obsolete("Create the IWindowInfo object first by calling CreateWindowInfo, then use the CreateGraphicsContext overload which takes major, minor and flags parameters.")] - public static void CreateGraphicsContext(Graphics.GraphicsMode mode, IntPtr cntrlHandle, - out Graphics.IGraphicsContext context, out IWindowInfo info) + public static void CreateGraphicsContext(GraphicsMode mode, IntPtr cntrlHandle, + out IGraphicsContext context, out IWindowInfo info) { info = CreateWindowInfo(mode, cntrlHandle); - context = new Graphics.GraphicsContext(mode, info); + context = new GraphicsContext(mode, info); context.MakeCurrent(info); - (context as OpenTK.Graphics.IGraphicsContextInternal).LoadAll(); + (context as IGraphicsContextInternal).LoadAll(); } #region --- CreateWindowInfo --- @@ -280,7 +281,7 @@ namespace OpenTK.Platform /// The desired GraphicsMode for this window. /// A to get the IWindowInfo from. /// - public static IWindowInfo CreateWindowInfo(Graphics.GraphicsMode mode, Control cntrl) + public static IWindowInfo CreateWindowInfo(GraphicsMode mode, Control cntrl) { return CreateWindowInfo(mode, cntrl.Handle); } @@ -291,7 +292,7 @@ namespace OpenTK.Platform /// The desired GraphicsMode for this window. /// The handle to the control, obtained from Control.Handle. /// - public static IWindowInfo CreateWindowInfo(Graphics.GraphicsMode mode, IntPtr controlHandle) + public static IWindowInfo CreateWindowInfo(GraphicsMode mode, IntPtr controlHandle) { if (Configuration.RunningOnWindows) return CreateWinWindowInfo(controlHandle); else if (Configuration.RunningOnX11) return CreateX11WindowInfo(mode, controlHandle); @@ -304,7 +305,7 @@ namespace OpenTK.Platform #region --- X11 Platform-specific implementation --- - private static IWindowInfo CreateX11WindowInfo(Graphics.GraphicsMode mode, IntPtr controlHandle) + private static IWindowInfo CreateX11WindowInfo(GraphicsMode mode, IntPtr controlHandle) { Platform.X11.X11WindowInfo window = new OpenTK.Platform.X11.X11WindowInfo(); diff --git a/Source/OpenTK/Platform/Windows/WinDisplayDevice.cs b/Source/OpenTK/Platform/Windows/WinDisplayDevice.cs index 33d9fbc2..acd61103 100644 --- a/Source/OpenTK/Platform/Windows/WinDisplayDevice.cs +++ b/Source/OpenTK/Platform/Windows/WinDisplayDevice.cs @@ -19,8 +19,8 @@ namespace OpenTK.Platform.Windows internal class WinDisplayDeviceDriver : IDisplayDeviceDriver { static object display_lock = new object(); - static Dictionary available_device_names = - new Dictionary(); // Needed for ChangeDisplaySettingsEx + static Dictionary available_device_names = + new Dictionary(); // Needed for ChangeDisplaySettingsEx #region --- Constructors --- @@ -35,7 +35,7 @@ namespace OpenTK.Platform.Windows // and construct the device when every needed detail is available. // The main DisplayDevice constructor adds the newly constructed device // to the list of available devices. - OpenTK.Graphics.DisplayDevice opentk_dev; + DisplayDevice opentk_dev; DisplayResolution opentk_dev_current_res = null; List opentk_dev_available_res = new List(); bool opentk_dev_primary = false; @@ -78,7 +78,7 @@ namespace OpenTK.Platform.Windows // Construct the OpenTK DisplayDevice through the accumulated parameters. // The constructor will automatically add the DisplayDevice to the list // of available devices. - opentk_dev = new OpenTK.Graphics.DisplayDevice( + opentk_dev = new DisplayDevice( opentk_dev_current_res, opentk_dev_primary, opentk_dev_available_res); @@ -98,7 +98,7 @@ namespace OpenTK.Platform.Windows #region public bool TryChangeResolution(OpenTK.Graphics.DisplayDevice device, DisplayResolution resolution) - public bool TryChangeResolution(OpenTK.Graphics.DisplayDevice device, DisplayResolution resolution) + public bool TryChangeResolution(DisplayDevice device, DisplayResolution resolution) { DeviceMode mode = null; @@ -124,7 +124,7 @@ namespace OpenTK.Platform.Windows #region public TryRestoreResolution TryRestoreResolution(OpenTK.Graphics.DisplayDevice device) - public bool TryRestoreResolution(OpenTK.Graphics.DisplayDevice device) + public bool TryRestoreResolution(DisplayDevice device) { return TryChangeResolution(device, null); } diff --git a/Source/OpenTK/Platform/Windows/WinGLContext.cs b/Source/OpenTK/Platform/Windows/WinGLContext.cs index 122f05d4..3b47d0bb 100644 --- a/Source/OpenTK/Platform/Windows/WinGLContext.cs +++ b/Source/OpenTK/Platform/Windows/WinGLContext.cs @@ -13,8 +13,8 @@ using System.Text; using System.Runtime.InteropServices; using System.Diagnostics; -using OpenTK.Graphics.OpenGL; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; #endregion @@ -254,7 +254,6 @@ namespace OpenTK.Platform.Windows { Wgl.LoadAll(); GL.LoadAll(); - Glu.LoadAll(); vsync_supported = Wgl.Arb.SupportsExtension(this, "WGL_EXT_swap_control") && Wgl.Load("wglGetSwapIntervalEXT") && Wgl.Load("wglSwapIntervalEXT"); diff --git a/Source/OpenTK/Platform/X11/X11Factory.cs b/Source/OpenTK/Platform/X11/X11Factory.cs index 6b1c43f0..a6fcaf4c 100644 --- a/Source/OpenTK/Platform/X11/X11Factory.cs +++ b/Source/OpenTK/Platform/X11/X11Factory.cs @@ -30,7 +30,7 @@ namespace OpenTK.Platform.X11 return new X11GLContext(mode, window, shareContext, directRendering, major, minor, flags); } - public virtual OpenTK.Graphics.GraphicsContext.GetCurrentContextDelegate CreateGetCurrentGraphicsContext() + public virtual GraphicsContext.GetCurrentContextDelegate CreateGetCurrentGraphicsContext() { return (GraphicsContext.GetCurrentContextDelegate)delegate { diff --git a/Source/OpenTK/Platform/X11/X11GLContext.cs b/Source/OpenTK/Platform/X11/X11GLContext.cs index 9dd44e77..5ba2d3d2 100644 --- a/Source/OpenTK/Platform/X11/X11GLContext.cs +++ b/Source/OpenTK/Platform/X11/X11GLContext.cs @@ -327,8 +327,7 @@ namespace OpenTK.Platform.X11 void IGraphicsContextInternal.LoadAll() { - GL.LoadAll(); - Glu.LoadAll(); + OpenTK.Graphics.OpenGL.GL.LoadAll(); Glx.LoadAll(); vsync_supported = this.GetAddress("glXSwapIntervalSGI") != IntPtr.Zero; Debug.Print("Context supports vsync: {0}.", vsync_supported); diff --git a/Source/OpenTK/Properties/AssemblyInfo.cs b/Source/OpenTK/Properties/AssemblyInfo.cs index 007248de..e84fe1d4 100644 --- a/Source/OpenTK/Properties/AssemblyInfo.cs +++ b/Source/OpenTK/Properties/AssemblyInfo.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("The Open Toolkit Library")] [assembly: AssemblyDescription("Open source game development toolkit for .Net/Mono.")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("The Open Toolkit Library")] [assembly: AssemblyProduct("The Open Toolkit Library")] [assembly: AssemblyCopyright("Copyright © 2006-2009 the Open Toolkit team")] [assembly: AssemblyTrademark("OpenTK")] diff --git a/Source/Utilities/Fonts/DisplayListTextHandle.cs b/Source/Utilities/Fonts/DisplayListTextHandle.cs index 179cfd5a..44395d58 100644 --- a/Source/Utilities/Fonts/DisplayListTextHandle.cs +++ b/Source/Utilities/Fonts/DisplayListTextHandle.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; using System.Text; + using OpenTK.Graphics.OpenGL; namespace OpenTK.Graphics diff --git a/Source/Utilities/Fonts/TextureFont.cs b/Source/Utilities/Fonts/TextureFont.cs index d3af128a..176c50f2 100644 --- a/Source/Utilities/Fonts/TextureFont.cs +++ b/Source/Utilities/Fonts/TextureFont.cs @@ -13,13 +13,13 @@ using System.Drawing.Imaging; using System.Runtime.InteropServices; using System.Diagnostics; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using OpenTK.Platform; namespace OpenTK.Graphics { using Graphics = System.Drawing.Graphics; - using PixelFormat = OpenTK.Graphics.PixelFormat; + using PixelFormat = OpenTK.Graphics.OpenGL.PixelFormat; using System.Text.RegularExpressions; [Obsolete("Use System.Drawing.Font instead")] @@ -382,7 +382,7 @@ namespace OpenTK.Graphics } GL.TexImage2D(TextureTarget.Texture2D, 0, PixelInternalFormat.Alpha, texture_width, texture_height, 0, - OpenTK.Graphics.PixelFormat.Rgba, PixelType.UnsignedByte, IntPtr.Zero); + OpenTK.Graphics.OpenGL.PixelFormat.Rgba, PixelType.UnsignedByte, IntPtr.Zero); } #endregion @@ -426,7 +426,7 @@ namespace OpenTK.Graphics GL.PixelStore(PixelStoreParameter.UnpackRowLength, bmp.Width); GL.TexSubImage2D(TextureTarget.Texture2D, 0, (int)rect.Left, (int)rect.Top, rect.Width, rect.Height, - OpenTK.Graphics.PixelFormat.Rgba, + OpenTK.Graphics.OpenGL.PixelFormat.Rgba, PixelType.UnsignedByte, bitmap_data.Scan0); } finally diff --git a/Source/Utilities/Graphics/AlphaTexture2D.cs b/Source/Utilities/Graphics/AlphaTexture2D.cs index dfcabf68..4ab43043 100644 --- a/Source/Utilities/Graphics/AlphaTexture2D.cs +++ b/Source/Utilities/Graphics/AlphaTexture2D.cs @@ -30,6 +30,7 @@ using System.Collections.Generic; using System.Text; using System.Drawing; using System.Drawing.Imaging; +using OpenTK.Graphics.OpenGL; namespace OpenTK.Graphics { diff --git a/Source/Utilities/Graphics/RgbaTexture2D.cs b/Source/Utilities/Graphics/RgbaTexture2D.cs index edac3a67..d010348c 100644 --- a/Source/Utilities/Graphics/RgbaTexture2D.cs +++ b/Source/Utilities/Graphics/RgbaTexture2D.cs @@ -28,6 +28,7 @@ using System; using System.Collections.Generic; using System.Text; +using OpenTK.Graphics.OpenGL; namespace OpenTK.Graphics { diff --git a/Source/Utilities/Graphics/Text/GL11TextOutputProvider.cs b/Source/Utilities/Graphics/Text/GL11TextOutputProvider.cs index 96d42b8e..3efeae24 100644 --- a/Source/Utilities/Graphics/Text/GL11TextOutputProvider.cs +++ b/Source/Utilities/Graphics/Text/GL11TextOutputProvider.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Text; using System.Drawing; +using OpenTK.Graphics.OpenGL; namespace OpenTK.Graphics.Text { diff --git a/Source/Utilities/Graphics/Text/GL12TextOutputProvider.cs b/Source/Utilities/Graphics/Text/GL12TextOutputProvider.cs index 79ff9909..e4dbe709 100644 --- a/Source/Utilities/Graphics/Text/GL12TextOutputProvider.cs +++ b/Source/Utilities/Graphics/Text/GL12TextOutputProvider.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using System.Text; using System.Drawing; +using OpenTK.Graphics.OpenGL; + namespace OpenTK.Graphics.Text { sealed class GL12TextOutputProvider : GL1TextOutputProvider diff --git a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs index 43ccabf5..612ef693 100644 --- a/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs +++ b/Source/Utilities/Graphics/Text/GL1TextOutputProvider.cs @@ -25,10 +25,11 @@ // #endregion +using System; using System.Collections.Generic; using System.Drawing; -using System; +using OpenTK.Graphics.OpenGL; namespace OpenTK.Graphics.Text { diff --git a/Source/Utilities/Graphics/Texture2D.cs b/Source/Utilities/Graphics/Texture2D.cs index 3a85f35f..5b46df5e 100644 --- a/Source/Utilities/Graphics/Texture2D.cs +++ b/Source/Utilities/Graphics/Texture2D.cs @@ -31,6 +31,7 @@ using System.Text; using System.Drawing; using System.Drawing.Imaging; using System.Diagnostics; +using OpenTK.Graphics.OpenGL; namespace OpenTK.Graphics { @@ -136,7 +137,7 @@ namespace OpenTK.Graphics GL.TexSubImage2D(TextureTarget.Texture2D, mipLevel, target.Left, target.Top, target.Width, target.Height, - OpenTK.Graphics.PixelFormat.Bgra, + OpenTK.Graphics.OpenGL.PixelFormat.Bgra, PixelType.UnsignedByte, data.Scan0); } finally @@ -158,7 +159,7 @@ namespace OpenTK.Graphics TextureRegion2D region = new TextureRegion2D(rect); - GL.GetTexImage(TextureTarget.Texture2D, mipLevel, PixelFormat.Bgra, PixelType.UnsignedByte, region.Data); + GL.GetTexImage(TextureTarget.Texture2D, mipLevel, OpenTK.Graphics.OpenGL.PixelFormat.Bgra, PixelType.UnsignedByte, region.Data); return region; } @@ -222,7 +223,7 @@ namespace OpenTK.Graphics SetDefaultTextureParameters(id); GL.TexImage2D(TextureTarget.Texture2D, 0, InternalFormat, Width, Height, 0, - OpenTK.Graphics.PixelFormat.Rgba, PixelType.UnsignedByte, IntPtr.Zero); + OpenTK.Graphics.OpenGL.PixelFormat.Rgba, PixelType.UnsignedByte, IntPtr.Zero); return id; }