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